Suggestions for optimizing my code

Wojciech Mula wojciech_mula at poczta.null.onet.pl.invalid
Fri Aug 5 20:02:06 CEST 2005


drife wrote:
> [...]
>     for row in range(len(Y)):
>         for col in range(0,row):

In this case you should use 'xrange' instead 'range'.

w.



More information about the Python-list mailing list