0

This is the start to my code in which the error occurs.

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 ):

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()

0 Answers0