Pickle file and send via socket

Ramchandra Apte maniandram01 at gmail.com
Mon Aug 6 09:47:47 EDT 2012


This is *absolutely* possible.
Did you know that IDLE uses this very method when run in sub-process mode!

On 6 August 2012 19:02, S.B <hyperboogie at gmail.com> wrote:

> Hello friends
>
> Does anyone know if it's possible to pickle and un-pickle a file across a
> network socket. i.e:
> First host pickles a file object and writes the pickled file object to a
> client socket.
> Second host reads the pickled file object from the server socket and
> un-pickles it.
>
> Can anyone provide a simple code example of the client and server sides?
>
> Thanks
>
> --
> http://mail.python.org/mailman/listinfo/python-list
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20120806/a82770ca/attachment.html>


More information about the Python-list mailing list