On 2/21/07, John Fouhy <[EMAIL PROTECTED]> wrote: > (because you are using a generator expression, and they were only > introduced in 2.4)
List comprehensions were implemented in v2.0. The OP probably does not use an older version, but as far as I can see, his syntax error line uses parenthesis - not brackets - hence the error. -- - Rikard. _______________________________________________ Tutor maillist - Tutor@python.org http://mail.python.org/mailman/listinfo/tutor