Re: [Tutor] Explanation of Pickle

2007-01-30 Thread Eike Welk
Hello Vanam! On Tuesday 30 January 2007 08:11, vanam wrote: > can any one explain about pickle i read in the book but they have > not provided any example for that so please explain with a simple > example A class can pickle itself like this: class foo(object): #lots of code here def _l

Re: [Tutor] Explanation of Pickle

2007-01-30 Thread Kent Johnson
vanam wrote: > can any one explain about pickle i read in the book but they have not > provided any example for that so please explain with a simple example There are examples in the docs: http://docs.python.org/lib/pickle-example.html Kent ___ Tutor

Re: [Tutor] Explanation of Pickle

2007-01-30 Thread Alan Gauld
"vanam" <[EMAIL PROTECTED]> wrote > can any one explain about pickle i read in the book but they have > not > provided any example for that so please explain with a simple > example Conceptually it is very simple. Pickle takes a python object and serialises it to a sequence of bytes which it st