shouldn't list comprehension be faster than for loops?
Carlos Grohmann
carlos.grohmann at gmail.com
Thu Dec 17 13:04:16 EST 2009
> Have you tried this with
>
> dip1 = [dp - 0.01 if dp == 90 else dp for dp in dipList]
>
Yes that is better! many thanks!
More information about the Python-list
mailing list