readline in while loop

Batista, Facundo FBatista at uniFON.com.ar
Fri May 23 09:06:35 EDT 2003


#- f=file("test.txt","r");
#- while (l=f.readline())!="":
#- 	print l;

I can not, by design of Python, make an assignment there.

.	Facundo





More information about the Python-list mailing list