En Mon, 28 Apr 2008 02:08:31 -0300, tarun <[EMAIL PROTECTED]> escribió:
> Hi All,
> I want to store the class instance object variables persistenlty in one file
> so that other file can also access for some filtering. I tired doing this
> using the shelve module.
>
> *Code:*
> class A:
> pass
Hi All,
I want to store the class instance object variables persistenlty in one file
so that other file can also access for some filtering. I tired doing this
using the shelve module.
*Code:*
class A:
pass
import shelve
filename = 'test.db'
d = shelve.open(filename)
a = A()
print a
d['1'] =