Skip to content

Instantly share code, notes, and snippets.

@toomore
Created November 5, 2010 17:37
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save toomore/664496 to your computer and use it in GitHub Desktop.
Save toomore/664496 to your computer and use it in GitHub Desktop.
countdown time
#!/usr/bin/env python
import datetime
import time
end = datetime.datetime(2010,11,6,11,30)
while 1:
time.sleep(0.8)
print '\r\n' * 30
print 'In %s\r\nto %s' % (end - datetime.datetime.today(), end)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment