transmit an array via socket

Hendrik van Rooyen mail at microcorp.co.za
Sat Oct 27 04:35:54 EDT 2007


"Jeff Pang" <p...uno.com> wrote:


I want to transmit an array via socket from a host to another.
How to do it? thank you.

pickle it and send it and unpickle it on the other side.

See the cPickle module docs for loads and dumps.

- Hendrik




More information about the Python-list mailing list