Simple threading in Python 2.6 using thread.start_new_thread()

前端 未结 5 2180
野的像风
野的像风 2020-12-15 09:04

I\'m following a tutorial on simple threading. They give this example and when I try to use it I\'m getting unintelligible errors from the interpreter. Can you please tell m

5条回答
  •  Happy的楠姐
    2020-12-15 09:07

    When I ran this code in Python 2.6 it worked, is it possible you have open threads already that are locked on the function? I recommend closing Python completely, checking your running processes to make sure nothing of yours is running and try again.

提交回复
热议问题