On Fri, Jun 18, 2010 at 03:16:36PM +0200, Eike Welk wrote:
> See:
> http://docs.python.org/library/pickle.html#what-can-be-pickled-and-unpickled
Thanks for the link and the explanation.
With warm regards,
-Payal
--
___
Tutor maillist - Tutor@python.o
On Friday June 18 2010 12:22:26 Payal wrote:
> Hi,
> I want to carry my classes around, so I wrote foo.py as,
>
> #!/usr/bin/python
>
> import pickle, shelve
>
> f = shelve.open('movies')
>
> class F(object) :
> def __init__(self, amt) : self.amt = amt
> def dis(self) : print 'Amount :