generator expression works in shell, NameError in script

Steven Samuel Cole steven.samuel.cole at
Thu Jun 18 01:38:39 CEST 2009

Both zip and enumerate do the trick. Thanks for the pointers, that's 2
more built-ins under my belt :-)
Still don't really understand why my initial code didn't work, though...

Thanks everyone! :-)

More information about the Python-list mailing list