Help in Placing Object in Memory
Diez B. Roggisch
deets at nospam.web.de
Tue Mar 27 10:49:24 EDT 2007
Clement wrote:
> I am newbie to Python...... i want to know something..........
>
> can i place an object in disk instead of placing in Main Memory...?
> If possible, can you please explain with some scripts...?
See the module pickle and it's examples.
> can two python script share a common object....?
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.
Diez
More information about the Python-list
mailing list