Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #26700

Re: Pickle file and send via socket

From "S.B" <hyperboogie@gmail.com>
Newsgroups comp.lang.python
Subject Re: Pickle file and send via socket
Date 2012-08-07 04:21 -0700
Organization http://groups.google.com
Message-ID <02cdd15c-2517-48fc-96e5-24a094b0b850@googlegroups.com> (permalink)
References <f3b73b0e-1520-4768-a1d2-bb754357dfc7@googlegroups.com>

Show all headers | View raw


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?

Back to comp.lang.python | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Pickle file and send via socket "S.B" <hyperboogie@gmail.com> - 2012-08-06 06:32 -0700
  Re: Pickle file and send via socket Nobody <nobody@nowhere.com> - 2012-08-06 17:11 +0100
  Re: Pickle file and send via socket Christian Heimes <lists@cheimes.de> - 2012-08-06 18:45 +0200
  Re: Pickle file and send via socket Dennis Lee Bieber <wlfraed@ix.netcom.com> - 2012-08-06 15:26 -0400
  Re: Pickle file and send via socket "S.B" <hyperboogie@gmail.com> - 2012-08-07 04:21 -0700
    Re: Pickle file and send via socket lipska the kat <lipskathekat@yahoo.co.uk> - 2012-08-07 14:07 +0100
  Re: Pickle file and send via socket lipska the kat <lipskathekat@yahoo.co.uk> - 2012-08-08 13:48 +0100
    Re: Pickle file and send via socket "S.B" <hyperboogie@gmail.com> - 2012-08-08 06:50 -0700
      Re: Pickle file and send via socket lipska the kat <lipskathekat@yahoo.co.uk> - 2012-08-08 16:07 +0100

csiph-web