while True:
    time_str = "It's %I:%M:%S %p on %A, %b %d, %Y\r"
print(time.strftime(time_str), end=' ')
sys.stdout.flush()
time.sleep(1)
Execute command in time increments of 1 second on same line in terminal