View Single Post
Old 04-25-2006, 03:20 PM   #7 (permalink)
coolman
Registered User
 
Join Date: Mar 2006
Posts: 25
coolman is on a distinguished road
I got a different error message

Code:
f = open('Python/Stud.txt) 
lines = f.readlines()   #lines in the file
for line in lines:      #loop line is variable
     print line      #to test
	 
SyntaxError: EOL while scanning single-quoted string]
coolman is offline   Reply With Quote