generator expression works in shell, NameError in script

Steven Samuel Cole steven.samuel.cole at gmail.com
Wed Jun 17 19:38:39 EDT 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