In <[EMAIL PROTECTED]>, kyosohma wrote: > I'm not familiar with ezt formats, however reading a text file is a > breeze.
This sentence doesn't match the code that follow. It's really simpler than that ``while`` loop. > f = open(r'pathToFile') > while True: > line = f.readline() > if not line: break > # do something with the line of text such as print it. > > f.close() f = open(r'pathToFile) for line in f: # do something with the line of text such as print it. f.close() Ciao, Marc 'BlackJack' Rintsch -- http://mail.python.org/mailman/listinfo/python-list