(slightly OT): Python and linux - very cool

Emile van Sebille emile at fenx.com
Thu Aug 8 07:06:01 CEST 2002


Mart van de Wege:
[snip VM questions]
> Constructs like the 'while (<FILEHANDLE>)' loop, which takes a  line
from a
> file  until EOF (meanwhile assigning it to the default variable) make
it
> really easy to toss of simple filter scripts.
>

??

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

--

Emile van Sebille
emile at fenx.com

---------




More information about the Python-list mailing list