"and" and "or" on every item in a list

GHZ geraint.williams at gmail.com
Tue Oct 30 03:43:37 EDT 2007


Thanks for the answers,  I suspected something like any(), all()
existed.  Also got me thinking about generator expressions, my code is
full of list comprehensions for lists I don't keep.




More information about the Python-list mailing list