Explanation of this Python language feature? [x for x in x for x in x] (to flatten a nested list)

Marko Rauhamaa marko at pacujo.net
Sat Mar 29 07:59:39 EDT 2014


Roy Smith <roy at panix.com>:

> Have you ever done any work in PHP? Many of the error messages are
> Hebrew, transliterated into English. I've gotten many a
> T_PAAMAYIM_NEKUDOTAYIM error.

I hate localization. You get a error message in Finnish from "make" or
"grep" and then you try to google it.

So mine is en_US, but I know people who do fi_FI.


Marko



More information about the Python-list mailing list