Re: Another question about pythonic syntax, yea!
I think if you want to use nested list comprehensions, you should really write the longer versions with for and if. While it might seem very cool to create a list and then imediately create another out of that first list in one single line, you'll never understand your code ever again Besides, most times, you can avoid nested lc's by simply using more conditional statements in one lc.
-- Audiogames-reflector mailing list Audiogames-reflector@sabahattin-gucukoglu.com https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector