please help shrink this each_with_index() implementation

Phlip phlip2005 at gmail.com
Tue Jan 5 17:40:49 EST 2010


On Jan 5, 1:10 pm, Antoine Pitrou <solip... at pitrou.net> wrote:

> http://docs.python.org/library/functions.html
>
> Don't forget that the Python documentation is rich and structured.
> And good luck.

Does it say how to convert a string containing either an integer
representation, or something alphabetic, into an integer, or a zero,
in like 1 method call? (No except: ?)

Nothing personal, but I'm finding the super-hard stuff very facile &
tractable, and the easy stuff absurdly hard around here...



More information about the Python-list mailing list