trouble writing results to files

Fredrik Lundh fredrik at pythonware.com
Wed Nov 29 17:00:30 CET 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