[BangPypers] Packing string and character

Gaurav Kalra gvkalra at gmail.com
Sat May 29 12:56:13 CEST 2010


Hi Noufal.

>From Wikipedia:
JSON only handle basic Python types like strings, integers, and
collections of basic types, whereas pickle is intended for arbitrary
objects.

pickle won't be more suitable for what Murugadoss is asking for ?
--
With Thanks
Gaurav Kalra
gvkalra at googlemail.com

> Message: 8
> Date: Sat, 29 May 2010 15:08:32 +0530
> From: Noufal Ibrahim <noufal at gmail.com>
> To: Bangalore Python Users Group - India <bangpypers at python.org>
> Subject: Re: [BangPypers] Packing string and character
> Message-ID:
> 	<AANLkTilImmlIzZzUKpvISVSWBil-2uJZkBP0L-pyaMrq at mail.gmail.com>
> Content-Type: text/plain; charset=ISO-8859-1
>
> You can json encode the data and send it.
>
> On 5/29/10, murugadoss <murugadoss2884 at gmail.com> wrote:
>> Hi all,
>> I want to know how to pack a set of character or string, for example
>>
>> Data = ['Date','time',year',23] ( data can be any combination of
>> string,character,integer ..etc)
>>
>> Pack the data to single message to send in network,
>>
>> Can any suggest me, how to do it
>> Thank in advance
>>
>> --
>> Thanks & Regards
>> V.Murugadoss
>> _______________________________________________
>> BangPypers mailing list
>> BangPypers at python.org
>> http://mail.python.org/mailman/listinfo/bangpypers
>>
>
>
> --
> ~noufal
> http://nibrahim.net.in--


More information about the BangPypers mailing list