trouble writing results to files

Fredrik Lundh fredrik at pythonware.com
Wed Nov 29 11:00:30 EST 2006


Neil Cerutti wrote:

>> BTW, iterating over range(len(a)) is an anti-pattern in Python.
> 
> Unless you're modifying elements of a, surely?

and needs to run on a Python version that doesn't support enumerate.

</F>




More information about the Python-list mailing list