Home > OS >  python3 threading script not printing out to console on pycharm
python3 threading script not printing out to console on pycharm

Time:03-07

I have this simple threading script based on this video: enter image description here

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...

  • Related