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

Gene Heskett gheskett at wdtv.com
Sat Mar 29 13:48:34 EDT 2014


On Saturday 29 March 2014 13:47:13 Marko Rauhamaa did opine:

> 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

I don't hate it at all.  If, by reporting the error in the persons 1st 
language, he learns faster, that is a huge plus to me.

Cheers, Gene
-- 
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
Genes Web page <http://geneslinuxbox.net:6309/gene>




More information about the Python-list mailing list