List comprehension - NameError: name '_[1]' is not defined ?

bearophileHUGS at lycos.com bearophileHUGS at lycos.com
Thu Jan 15 13:48:23 CET 2009


mario ruggier, that's a hack that you can forget. Your code can't be
read. Don't use list comps for that purpose. Write code that can be
read.

Bye,
bearophile



More information about the Python-list mailing list