Skip to content

Instantly share code, notes, and snippets.

@blizzarddreams
Created January 1, 2015 07:21
Show Gist options
  • Select an option

  • Save blizzarddreams/5eead50324e32d2df063 to your computer and use it in GitHub Desktop.

Select an option

Save blizzarddreams/5eead50324e32d2df063 to your computer and use it in GitHub Desktop.
from datetime import *
import time
import sys
while True:
date = datetime.now().strftime("%H:%M:%S")
sys.stdout.write(str(date)+'\r')
sys.stdout.flush()
time.sleep(1)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment