Peter Otten wrote:

And here's the lazy-bastard version:
[...]
...     print ast.literal_eval(line.strip())

Nice!


--
Steven




_______________________________________________
Tutor maillist  -  Tutor@python.org
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor

Reply via email to