綜述
python錯誤:module ‘shutil’ has no attribute ‘copy’
解決
這多半是因爲:你創建了一個和系統庫重名的py文件
例如
copy.py
所以將其重命名即可。
python錯誤:module ‘shutil’ has no attribute ‘copy’
這多半是因爲:你創建了一個和系統庫重名的py文件
例如
copy.py
所以將其重命名即可。
class MetaCls(type): def __new__(cls, *args, **kwargs): print("in MetaCls") # return super(Meta