List Comprehensions

From XPUB & Lens-Based wiki
Revision as of 11:07, 31 March 2009 by Michael Murtaugh (talk | contribs) (New page: List comprehensions bring a taste of functional progamming to Python. Comprehensions are often a very handy way to compactly express / filter / proce...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

List comprehensions bring a taste of functional progamming to Python. Comprehensions are often a very handy way to compactly express / filter / process / otherwise manipulate lists of data in Python, and have many applications including in CGI scripts.