Skip to content

Instantly share code, notes, and snippets.

@oculushut
Created March 6, 2016 18:55
Show Gist options
  • Save oculushut/eb294805c5bdc9c412fd to your computer and use it in GitHub Desktop.
Save oculushut/eb294805c5bdc9c412fd to your computer and use it in GitHub Desktop.
Python beep example
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