Sending Dictionary via Network

Simon Forman rogue_pedro at yahoo.com
Tue Oct 24 19:56:43 EDT 2006


mumebuhi wrote:
> 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.

Pickle aso has dumps() and loads() to work with strings rather than
files.

Peace,
~Simon




More information about the Python-list mailing list