Help in Placing Object in Memory

Harry George harry.g.george at boeing.com
Tue Mar 27 06:20:23 EDT 2007


"Clement" <jeba.ride at gmail.com> writes:

> 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...?
> 
> can two python script share a common object....?
> 

For the CPU to use the object, it needs to be in RAM.  But it is
possible to save the RAM image onto disk, and then bring it back
later.  The common approach is called "pickling", though there are
several variants on this:

 http://docs.python.org/lib/persistence.html


-- 
Harry George
PLM Engineering Architecture



More information about the Python-list mailing list