On Fri, Dec 28, 2012 at 12:16 AM, Omer Korat
<animus.partum.univer...@gmail.com> wrote:
> I see. In that case, all I have to do is make sure NLTK is available when I 
> load the pickled objects. That pretty much solves my problem. Thanks!
> So it means pickle doesn't ever save the object's values, only how it was 
> created?
>
> Say I have a large object that requires a lot of time to train on data. It 
> means pickle doesn't save its values, so you have to train it every time 
> anew? Is there no way to save its trained values?

It'll save instance data but not class data or code. So it'll save all
that content, and it assumes that class data is either static or will
be recreated appropriately during unpickling.

ChrisA
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to