Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import winsound
- '''The winsound module provides access to the basic sound-playing
- machinery provided by Windows platforms. It includes functions and several constants.
- '''
- import winsound
- Frequency = 2500 # Set Frequency To 2500 Hertz
- Duration = 1000 # Set Duration To 1000 ms == 1 second
- winsound.Beep(Frequency,Duration)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement