Try this
from datetime import datetime import time def get_time(): now = datetime.now() current_time = now.strftime("%H:%M") return current_time while True: print(get_time(), end="\r") # Only prints last character of get_time(). time.sleep(60)
I welcome all feedback.
The only dumb question, is one that doesn't get asked.
My Github
How to post code using bbtags
The only dumb question, is one that doesn't get asked.
My Github
How to post code using bbtags