First page Back Continue Last page Overview Graphics
Notes
- Nothing magical, this is just a shorter way of writing common idioms we all have written a million times.
- Python often uses the idea of “equivalent to longer code” to keep the language simple.
- After a week, you will never do without them.
Python Tutorial on List Comprehensions
- http://docs.python.org/tut/node7.html
- walks through a few examples in section 5.1.4