[EMAIL PROTECTED] wrote:

> Hi!
> 
> what's the standard way for a "for" loop with float increments?

AFAIK there is no, but you should be easily able to write an frange
yourself:


def frange(from, to, step):
    while from < to:
       yield from
       from += step

for x in frange(10.5, 23.4, 0.3):
   print x


Diez
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to