I'm working on a small program to practice multithreading. I've made two timer functions to output the current time, both of which I want to wait a certain amount of time before outputting again. I am trying to use time.sleep to do this, but when I run my code, I'm getting an error message saying: AttributeError: 'time.struct_time' object has no attribute 'sleep'. Why am I getting this error?
If I'd had more time, I would have written a shorter letter. -T.S. Eliot such a short, tiny ad:
global solutions you can do in your home or backyard