刚刚试的书上的例子~~
运行后报错了,以下为错误截图
Traceback (most recent call last):
File "c:/Users/57849/Desktop/python/9.4.2.py", line 31, in
main()
File "c:/Users/57849/Desktop/python/9.4.2.py", line 21, in main
thread=mythread(i)
File "D:\anaconda\lib\threading.py", line 784, in init
assert group is None, "group argument must be None for now"
AssertionError: group argument must be None for now
还有顺便问一下,图中代码line9-12干嘛还要重复一遍?