please help shrink this each_with_index() implementation

Mackrackit mackrackit at
Wed Jan 6 01:26:38 CET 2010

On Jan 5, 2010, at 4:30 PM, Phlip <phlip2005 at> wrote:

> The point: int('') or int('something') both throw an error. In
> general, this is hand-holding, but in specific I don't think the "rich
> and structured" documentation will cover how to beat a 0 out of it in
> less than 3 lines. So I will persist in my idiotic questions here!
What does an extra two or three lines of code matter?

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the Python-list mailing list