Skip to content

Instantly share code, notes, and snippets.

@toomore
Created November 5, 2010 17:37
Show Gist options
  • 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