Why this my Python clock runs only from Python2, Python3 does nothing.
from __future__ import print_function
import time
wipe = '\b'*len(time.asctime())
print("The current date and time are: "+' '*len(wipe), end='')
while True:
print(wipe+time.asctime(), end='')
time.sleep(1)
In Python 3, you need to flush the print buffer to force the characters to be written to the screen.
Add
to the start of your script and change the loop to