运行报错
AttributeError: module 'threading' has no attribute 'Thread'
原来是我的文件名叫做threading.py,所以import的就是本文件
python3 /tmp/pycharm_project_570/threading.py 

https://stackoverflow.com/questions/19717402/attributeerror-of-threading-thread-in-python-2-7-5

发表评论