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
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
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)