Re: python confusion possibly related to pickle

2008-05-19 Thread Dennis
Derek Martin wrote: On Sun, May 18, 2008 at 08:28:34PM +0100, Dennis wrote: The problem that's got me annoyed is that after getting said error I close the shell window, open a new one, run the python interpreter and type import pickle and get the error that the script I'd run earlier caused.

python confusion possibly related to pickle

2008-05-18 Thread Dennis
I have a problem that I don't understand at all. I run a python script, which uses pickle, and it fails. That alone is, perhaps, no big deal. The problem that's got me annoyed is that after getting said error I close the shell window, open a new one, run the python interpreter and type

Re: python confusion possibly related to pickle

2008-05-18 Thread Dennis
Never mind. I solved it. I had a file called pickle in the same folder I was in when I ran python, and that's the file it was trying to import. Duh @ me :s Dennis wrote: I have a problem that I don't understand at all. I run a python script, which uses pickle, and it fails. That alone

Re: python confusion possibly related to pickle

2008-05-18 Thread Derek Martin
On Sun, May 18, 2008 at 08:28:34PM +0100, Dennis wrote: The problem that's got me annoyed is that after getting said error I close the shell window, open a new one, run the python interpreter and type import pickle and get the error that the script I'd run earlier caused. Why is this ? Well,