Skip to content

Instantly share code, notes, and snippets.

@lucky
Created January 6, 2011 21:55
Show Gist options
  • Save lucky/768671 to your computer and use it in GitHub Desktop.
Save lucky/768671 to your computer and use it in GitHub Desktop.
import time
def doit(sec):
time.sleep(sec)
for i in range(100):
print '\a'
time.sleep(0.5)
doit(240) # 4 minutes
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment