pickle导入变量AttributeError的解决方案

问题描述:

AttributeError: 'module' object has no attribute ‘attr1’

  

解决方案:

# 找到报错的文件a.py
from a import attr1

  

猜你喜欢

转载自www.cnblogs.com/sddai/p/11496515.html