模块“线程”没有属性“ active_count”

时间:2019-12-05 02:39:52

标签: python-3.x

代码: 导入线程 threading.active_count()

回溯(最近通话最近):   在第1行的文件“ D:/pycharm/day4/dsaf.py”中     导入线程   在第4行的文件“ D:\ pycharm \ day4 \ threading.py”中     threading.active_count() AttributeError:模块“线程”没有属性“ active_count”

0 个答案:

没有答案