Package cosmolopy :: Module saveable

Module saveable

source code

A Saveable class with methods to save and restore.

Saveable is designed to be subclassed to create new types of objects that can easily be pickled and reloaded.

Classes
  NullWriter
Dummy file-like object that does nothing.
  Saveable
An object with methods to save and restore.
Functions
 
loadSaveable(filename)
Return an instance of an object unpickled from a file.
source code
Variables
  __package__ = 'cosmolopy'