Pickle file and send via socket

S.B hyperboogie at gmail.com
Tue Aug 7 07:21:14 EDT 2012


On Monday, August 6, 2012 4:32:13 PM UTC+3, S.B 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

Lot's of conflicting answers :-(

Can anyone provide a simple code example?



More information about the Python-list mailing list