Created
March 6, 2016 18:55
-
-
Save oculushut/eb294805c5bdc9c412fd to your computer and use it in GitHub Desktop.
Python beep example
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import winsound | |
def finishSound(): | |
for i in range(1, 10): | |
winsound.Beep(i*100, 200) | |
for i in range(9, 0, -1): | |
winsound.Beep(i*100, 200) | |
finishSound() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment