Help in Placing Object in Memory

Erik Johnson nobody at invalid.com
Tue Mar 27 12:09:24 EDT 2007


"Diez B. Roggisch" <deets at nospam.web.de> wrote in message
news:56sp7kF2b0fj6U1 at mid.uni-berlin.de...

> What do you mean by that? They can both load a pickled object, yes. But
they
> can't share it as a at-runtime object, where changes in one script are
> immediately are known to the other.
>
> To do such a thing, look at pyro.

    Or not natively (i.e., that battery isn't included). I believe it can
still be done, though: http://poshmodule.sourceforge.net/
(I haven't used the module - just used Google to locate it)

You could, of course, roll-your-own solution using shared memory and/or
other interprocess communication (http://docs.python.org/lib/ipc.html)

Hope that helps,
-ej





More information about the Python-list mailing list