In fact, the conventions used are all documented in the pickle module.
事实上,在pickle模块中记录了所有使用的约定。
You can see that the class name, Foo, and the fully qualified module name, Orbtech.examples.persist, are both stored in the pickle.
可以看到这个类的名称 Foo 和全限定的模块名称 Orbtech.examples.persist 都存储在 pickle 中。
That's because the module information is stored in the pickle but is not an attribute that can be modified through the standard pickle interface.
那是因为模块的信息存储在pickle中,而不是通过标准的pickle接口就可以修改的属性。
Now,we're in a bit of a pickle here,from the philosophical point of view.
从哲学角度来看,我们陷入了一个小困境。
应用推荐