SyntaxFix
Write A Post
Hire A Developer
Questions
You can use below code snippet to read line by line, till end of file:
line = obj.readline() while(line != ''): # Do Something line = obj.readline()