Use a Thread to reload a Module?

Gregory Piñero gregpinero at gmail.com
Sun Dec 24 01:26:13 EST 2006


On 12/24/06, Hendrik van Rooyen <mail at microcorp.co.za> wrote:
> "Gregory Piñero" <gregpinero at gmail.com> wrote:
...
> open( filename[,flag='c'[,protocol=None[,writeback=False[,binary=None]]]])
>
> Open a persistent dictionary. The filename specified is the base filename for
> the underlying database. As a side-effect, an extension may be added to the
> filename and more than one file may be created. By default, the underlying
> database file is opened for reading and writing. The optional flag parameter has
> the same interpretation as the flag parameter of anydbm.open.
>
> hth - Hendrik

So how is that better than using marshal as I am now?  Is it faster to
load?  Perhaps I could do speed tests to compare.

-Greg



More information about the Python-list mailing list