Help in Placing Object in Memory

2007-03-27 Thread Clement
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? -- http://mail.python.org/mailman/listinfo/python-list

Re: Help in Placing Object in Memory

2007-03-27 Thread Diez B. Roggisch
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 ob

Re: Help in Placing Object in Memory

2007-03-27 Thread Michael L Torrie
On Tue, 2007-03-27 at 16:49 +0200, Diez B. Roggisch wrote: > > 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 o

Re: Help in Placing Object in Memory

2007-03-27 Thread Erik Johnson
"Diez B. Roggisch" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > 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

Re: Help in Placing Object in Memory

2007-03-27 Thread Bruno Desthuilliers
Clement a écrit : > I am newbie to Python.. To Python only, or to both Python and programming in general ? > i want to know something.. > > can i place an object in disk instead of placing in Main Memory...? You can store it on disk (cf pickles and friends), but to actually use it

Re: Help in Placing Object in Memory

2007-03-27 Thread [EMAIL PROTECTED]
On Mar 27, 10:33 am, "Clement" <[EMAIL PROTECTED]> 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...? > > can two python script share a common o

Re: Help in Placing Object in Memory

2007-03-27 Thread Harry George
"Clement" <[EMAIL PROTECTED]> 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? > F