> 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
_______________________________________________
Tutor maillist - [email protected]
http://mail.python.org/mailman/listinfo/tutor