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
[email protected]

> Message: 8
> Date: Sat, 29 May 2010 15:08:32 +0530
> From: Noufal Ibrahim <[email protected]>
> To: Bangalore Python Users Group - India <[email protected]>
> Subject: Re: [BangPypers] Packing string and character
> Message-ID:
>       <[email protected]>
> Content-Type: text/plain; charset=ISO-8859-1
>
> You can json encode the data and send it.
>
> On 5/29/10, murugadoss <[email protected]> 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
>> [email protected]
>> http://mail.python.org/mailman/listinfo/bangpypers
>>
>
>
> --
> ~noufal
> http://nibrahim.net.in--
_______________________________________________
BangPypers mailing list
[email protected]
http://mail.python.org/mailman/listinfo/bangpypers

Reply via email to