altering an object as you iterate over it?
jstroud at ucla.edu
Fri May 19 22:36:35 CEST 2006
Paul McGuire wrote:
> Your coding style is a little dated - are you using an old version of
> Python? This style is the old-fashioned way:
> 1. open("xxx") still works - not sure if it's even deprecated or not - but
> the new style is to use the file class
Python 2.3.4 (#4, Oct 25 2004, 21:40:10)
[GCC 3.3.2 (Mandrake Linux 10.0 3.3.2-6mdk)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
py> open is file
UCLA-DOE Institute for Genomics and Proteomics
Los Angeles, CA 90095
More information about the Python-list