number of different lines in a file

pac pac at fernside.com
Thu May 18 22:33:56 EDT 2006


A generator expression can "share" the parenthesis of a function call.
The syntax is explained in PEP 289, which is also in "What's new" in
the Python 2.4 docs.

Nice line of code!




More information about the Python-list mailing list