Re: Sharing common memory space (In form of List) across the python processes.

2008-08-26 Thread D'Arcy J.M. Cain
On Tue, 26 Aug 2008 18:18:53 +0530 Piyush Chechani <[EMAIL PROTECTED]> wrote: > Please suggest how to share a in-memory list object across two different > programs? Perhaps you want to investigate XML-RPC. Check the docs for some example scripts for both client and server. P.S. Please drop the

Sharing common memory space (In form of List) across the python processes.

2008-08-26 Thread Piyush Chechani
Hi, Thanks for your reply Terry. I am still not done with this problem. Please tell me can a server send a list object using socket programming to the requesting client? If yes, how? I am getting the following error "TypeError: send() argument 1 must be string or read-only buffer, not

Re: Sharing common memory space (In form of List) across the python processes.

2008-08-26 Thread Piyush Chechani
st at the client end, which is not desirable. Please suggest how to share a in-memory list object across two different programs? Thanks. Piyush. Piyush Chechani/DEL/TCS 08/01/2008 01:24 PM To python-list@python.org cc Subject Sharing common memory space (In form of List) across the python

Re: Sharing common memory space (In form of List) across the python processes.

2008-08-01 Thread Terry Reedy
Piyush Chechani wrote: Hi, I am working on a module where I need to share contents of a big List across the processes. I am using socket programming concept for this. My current processing for this is as follows: - 1. There is a server program S which loads the list in the memory,

Sharing common memory space (In form of List) across the python processes.

2008-08-01 Thread Piyush Chechani
Hi, I am working on a module where I need to share contents of a big List across the processes. I am using socket programming concept for this. My current processing for this is as follows: - 1. There is a server program S which loads the list in the memory, and listens on a particular