[Pythonmac-SIG] repeat loop question

Chris Barker cbarker@jps.net
Thu, 07 Dec 2000 10:42:54 -0800


tom smith wrote:

> ...is there a way of getting the "count" of i without having to hand
> increment n?
> 
> thanks
> 
> tom

No, but it is a PEP (Python Enhancement Proposal), so it may be in a
future version
see:
http://python.sourceforge.net/peps/pep-0212.html

-Chris

-- 
Christopher Barker,
Ph.D.                                                           
cbarker@jps.net                      ---           ---           ---
http://www.jps.net/cbarker          -----@@       -----@@       -----@@
                                   ------@@@     ------@@@     ------@@@
Water Resources Engineering       ------   @    ------   @   ------   @
Coastal and Fluvial Hydrodynamics -------      ---------     --------    
------------------------------------------------------------------------
------------------------------------------------------------------------