Jul-28-2020, 02:50 AM
I was able to get f-strings to work with termcolor using :
print(f"been idle for", colored(f"{total}", 'cyan'), "seconds !! - lets sync now...")
been idle for 6 seconds !! - lets sync now...
print(f"been idle for", colored(f"{total}", 'cyan'), "seconds !! - lets sync now...")
been idle for 6 seconds !! - lets sync now...