Are you perhaps thinking of 'f' strings? :
Code:
from datetime import datetimeimport timewhile True: print(f'now: {datetime.now()}', end='\r') time.sleep(1.0)Statistics: Posted by dBerriff — Sat Jul 12, 2025 8:50 am