问题描述 在Python代码中使用Pickle模块dump一个对象,报错: >>> with open(path, 'wb') as f: >>> pickle.dump(self, f) Traceback (most recent call last): File "<stdin>"