On Sat, May 29, 2010 at 1:47 PM, murugadoss <murugadoss2...@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,
You mean "Serialization" ? http://en.wikipedia.org/wiki/Serialization Please look at pickle module: http://docs.python.org/library/pickle.html Regards, Baiju M _______________________________________________ BangPypers mailing list BangPypers@python.org http://mail.python.org/mailman/listinfo/bangpypers