Path: csiph.com!usenet.pasdenom.info!aioe.org!news.stack.nl!newsfeed.xs4all.nl!newsfeed2.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.021 X-Spam-Evidence: '*H*': 0.96; '*S*': 0.00; 'see.': 0.07; "object's": 0.09; 'objects.': 0.09; 'subject:module': 0.09; 'to:addr:comp.lang.python': 0.09; 'cc:addr:python-list': 0.10; 'values?': 0.16; 'load': 0.19; 'cc:2**1': 0.24; 'cc:addr:python.org': 0.25; 'header:In-Reply-To:1': 0.25; 'header :User-Agent:1': 0.26; 'thanks!': 0.26; "doesn't": 0.28; 'pickle': 0.29; 'case,': 0.29; 'train': 0.30; 'problem.': 0.32; 'received:google.com': 0.34; 'received:209.85.220': 0.35; 'received:209.85': 0.35; 'there': 0.35; 'cc:no real name:2**1': 0.36; 'data.': 0.36; 'received:209': 0.37; 'subject:: ': 0.38; 'object': 0.38; 'sure': 0.38; 'save': 0.61; 'ever': 0.63; 'pickled': 0.84; 'trained': 0.95 Newsgroups: comp.lang.python Date: Thu, 27 Dec 2012 05:16:22 -0800 (PST) In-Reply-To: Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=192.114.23.209; posting-account=XABbbQoAAACN47daumcsGLb_To0NYlHn References: User-Agent: G2/1.0 X-Google-Web-Client: true X-Google-IP: 192.114.23.209 MIME-Version: 1.0 Subject: Re: pickle module doens't work From: Omer Korat To: comp.lang.python@googlegroups.com Content-Type: text/plain; charset=ISO-8859-1 Cc: python-list@python.org, d@davea.name X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Message-ID: Lines: 4 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1356614185 news.xs4all.nl 6849 [2001:888:2000:d::a6]:53529 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:35617 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?