[Tutor] lists and strings

Shantanoo Mahajan shantanoo at gmail.com
Tue Nov 8 22:02:41 CET 2005


+++ Hugo Gonz?lez Monteverde [08-11-05 13:13 -0600]:
| Hi Mike,
| 
| Converting an (almost)arbitrary object into a string is what the Pickle module does. CPickle is faster. Take 
| a look into into it in the docs.
| 

Is there a way to dump the varialble in XML format and retrive it?

e.g.
a="this is string"
b=1234567890
c={}
c['a'] = a
c['b'] = b

and then dump c.

Regards,
Shantanoo
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://mail.python.org/pipermail/tutor/attachments/20051109/93c11d60/attachment.pgp


More information about the Tutor mailing list