[Tutor] pass tuples to user defined function(beginner)

Steven D'Aprano steve at pearwood.info
Tue Nov 29 14:02:48 CET 2011


Peter Otten wrote:

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

Nice!


-- 
Steven






More information about the Tutor mailing list