gregt... at mindspring.com: > Files aren't lists and thus don't have the functions for iteration. > Try: > def go(): > for line in open("bobo.txt", "r").readlines(): > print line > go() CPython 2.1 has xreadlines, maybe Jython has it too. Bye, bearophile