title: module object has no attribute sound. keep getting this error do not know how to fix it?
body: <p>This is the start to my code in which the error occurs. </p>
  
  <p>The whole idea of the whole code was to play a beep noise when the user successfully logs in . (its a log in system. fairly basic;  I am am running Python 3.3.3 and Pygame 1.9.1 ):</p>
  
  <pre><code>import pygame
  import time
  from os import path
  import os
  pygame.init()
  s = pygame.mixer.Sound("C://Users//J//Desktop//Login Code + directory//Log in Directory//Beep.wav//")
  trys = 0
  def play_sound():
    s.play()
  </code></pre>