I removed my previous post about this topic because I apparently have
pasted the wrong code. Sorry for the confusion and thanks for being
patient.
I am having problem to kill the following script completely. The script
basically does the following. The main thread creates a new thread,
which does
Hi Steve,
The output is as the following (excluding the "---start---" and
"---end---"):
---start---
die now
Traceback (most recent call last):
File "../../../scratch/python/tmp.py", line 39, in ?
channel, details = server.accept()
File "/usr/lib/python2.4/socket.py", line 169, in accept
I am having problem to kill the following script completely. The script
basically does the following. The main thread creates a new thread,
which does a completely useless thing, and then starts excepting for a
connection via socket.
# start
import pickle
import signal
import simplejson
import soc
Bruno Desthuilliers wrote:
> mumebuhi a écrit :
> > Hi,
> >
> > Is it possible to send a non-string object from a Python program to
> > another? I particularly need to send a dictionary over to the other
> > program. However, this is not possible using the so
Thank you very much for the reply.
Can pickle work directly with socket? The way I am doing right now is
to pickle the object to a file then send the file content through the
socket.
--
http://mail.python.org/mailman/listinfo/python-list
Hi,
Is it possible to send a non-string object from a Python program to
another? I particularly need to send a dictionary over to the other
program. However, this is not possible using the socket object's send()
function.
Help?
Buhi
--
http://mail.python.org/mailman/listinfo/python-list