Re: Related to Shelve Module

2008-04-28 Thread Gabriel Genellina
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

Related to Shelve Module

2008-04-27 Thread tarun
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'] =