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

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