please help shrink this each_with_index() implementation
phlip2005 at gmail.com
Tue Jan 5 21:36:07 CET 2010
> > My Pythonic sequencing skills are obviously feeble. Can anything think
> > of a way to write that in fewer lines?
> Couldn't you just use the built-in enumerate() to replace the whole thing?
Because that would involve, like, reading an entire Python book just
to locate that method?
GMAB I'm too busy writing high-end Django via TDD & BDD! C-:
More information about the Python-list