Chris Beaven wrote:
It's really more a cool way to do lists than if statements  :)

It's technically "list comprehension". Sort of a one-line list transform tool.

I recommend reading through some of Dive Into Python ( for lots more cool hands-on tips on Python programming. Chapter 3 for a good overview of the uses of Python's different data types.

Good advice.

"Building Websites with Plone"

Enfold Systems, LLC
Zope maillist  -
**   No cross posts or HTML encoding!  **
(Related lists - )

Reply via email to