Re: [Tutor] Data exchange formats...

2010-06-20 Thread Steven D'Aprano
On Mon, 21 Jun 2010 09:01:12 am Modulok wrote: > List, > > What's the best format to send data across the wire between > processes? Consider json or yaml. json comes in the standard library, at least in version 2.6; yaml does not. I don't know if they are secure, but it's worth checking. If you

Re: [Tutor] Data exchange formats...

2010-06-20 Thread Alan Gauld
"Modulok" wrote What's the best format to send data across the wire between processes? That depends on what you measure as 'best' - data volume, speed of transmission, security, data complexity, flexibility, ease of decoding etc etc. a server via a TCP socket. Things like 'count = 10, nam

[Tutor] Data exchange formats...

2010-06-20 Thread Modulok
List, What's the best format to send data across the wire between processes? I have some simple 'insensitive' data I need to send from a client, to a server via a TCP socket. Things like 'count = 10, name="foo"' and so forth. Basic values. I would use something like the 'pickle' module to pack th