[Tutor] Structured files?
Simon Yan
simonyanix at gmail.com
Thu Jun 2 09:29:47 CEST 2011
2011/6/2 Válas Péter <sulinet at postafiok.hu>:
> Good morning,
>
> I can create files and write strings/unicodes.
> Is it possible to write a list, a dictionary or an object or anything into a
> file? Or do I have to transform them to strings?
Yes you can.
I guess the question is how you want the information to be structured.
IMHO, everything in Python can be "string-lized".
>
> Péter
>
> _______________________________________________
> Tutor maillist - Tutor at python.org
> To unsubscribe or change subscription options:
> http://mail.python.org/mailman/listinfo/tutor
>
>
--
Regards,
Simon Yan
http://www.google.com/profiles/simonyanix
More information about the Tutor
mailing list