Explanation about pickle module

2007-01-30 Thread raghu
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 -- http://mail.python.org/mailman/listinfo/python-list

Re: Explanation about pickle module

2007-01-30 Thread Diez B. Roggisch
raghu 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 Bad google day? Or just to lazy to do it? And what is the book? There are quite a few out there, some about python the language, others about

Re: Explanation about pickle module

2007-01-30 Thread Marco Wahl
raghu [EMAIL PROTECTED] writes: 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 class Foo(object): ... def __init__(self): ... self.bar = 1 ... import pickle a = Foo() pickle.dumps(a)