I have this simple threading script based on this video:
Edit: removed the string 5 in sleep and replaced with int 5, but still same issue.
CodePudding user response:
Why are you using a string in
time.sleep('5')
it should raise an error, use
time.sleep(5)
CodePudding user response:
please call main. I never called main...