Created
October 1, 2019 16:22
-
-
Save MayankFawkes/72534f7102f2c8a1b67e6004b13a0585 to your computer and use it in GitHub Desktop.
Get Live Time
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import sys | |
import time | |
while True: | |
sys.stdout.write(str(time.ctime())) | |
sys.stdout.write("\r") | |
sys.stdout.flush() | |
time.sleep(0.1) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment