Skip to content

Instantly share code, notes, and snippets.

@arivvid27
Created June 25, 2020 22:27
Show Gist options
  • Save arivvid27/bb56d58762460ca3fb7267bc3ec81968 to your computer and use it in GitHub Desktop.
Save arivvid27/bb56d58762460ca3fb7267bc3ec81968 to your computer and use it in GitHub Desktop.
I am getting an error called: AttributeError: module 'winsound' has no attribute 'Playsound'
C:\Users\HP-6000\AppData\Local\Programs\Python\Python39\python.exe C:/Users/HP-6000/PycharmProjects/Schedule/Alarm.py
Traceback (most recent call last):
File "C:\Users\HP-6000\PycharmProjects\Schedule\Alarm.py", line 6, in <module>
winsound.Playsound("Loud_Alarm_Clock_Buzzer-Muk1984-493547174", winsound.SND_FILENAME)
AttributeError: module 'winsound' has no attribute 'Playsound'
Process finished with exit code 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment