(slightly OT): Python and linux - very cool

hash hs2l at yahoo.com
Thu Aug 8 07:36:48 CEST 2002

Emile van Sebille wrote:

>for line in open(r'c:\bootlog.txt'): print line

>> for line in open("read.py"):
...	print line
Traceback (innermost last):
File "<stdin>",line 1, in ?
TypeError: loop over non-sequence	

This is (outdated) python 1.5.2

To announce that there must be no criticism of the president, or that
we are to stand by him right or wrong, is not only unpatriotic and
servile, but is morally treasonable to the American public"
Theodore Roosevelt

More information about the Python-list mailing list