Home | Trees | Indices | Help |
|
---|
|
Simple container class which is derived from the dictionary
It is capable of storing itself in a file, or loading from a file (using cPickle + zlib tandem). Any serializable object can be bound to a hamster to be stored.
To undig burried hamster use Hamster(filename). Here is an example:
>>> h = Hamster(bla='blai') >>> h.boo = N.arange(5) >>> h.dump(filename) ... >>> h = Hamster(filename)
|
|||
a new object with type S, a subtype of T |
|
||
new empty dictionary |
|
||
|
|||
|
|||
|
|||
Inherited from Inherited from |
|
|||
Inherited from |
|
|||
Inherited from |
|
|
Initialize Hamster. Providing a single parameter string would treat it as a filename from which to undig the data. Otherwise all the parameters are equivalent to the ones of dict
|
|
|
Home | Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Thu Apr 2 18:37:09 2009 | http://epydoc.sourceforge.net |