[Tutor] For loop question

w chun wescpy at gmail.com
Thu May 11 05:10:56 CEST 2006


> Thanks all, appears it is the newline character which was causing me
> grief.  For some reason I still have to do a readlines on the open file
> at this stage, but I can muck about with that to figure it out.


that is surprising... i would be interested in hearing what problems
you are encountering while iterating through a file.  if you have any
output or problem description to share with us, that would be great.
what version of Python are you running?

cheers,
-- wesley
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
"Core Python Programming", Prentice Hall, (c)2007,2001
    http://corepython.com

wesley.j.chun :: wescpy-at-gmail.com
python training and technical consulting
cyberweb.consulting : silicon valley, ca
http://cyberwebconsulting.com


More information about the Tutor mailing list