[Solved] What does this mean? == “”


This is reading the file line-by-line, and finishing at the first empty line, meaning the end of the file. breakexits the while True;loop

It’s horrible code though; cases where you actually need to manually code a loop like this a pretty rare in python. More succinct/pythonic would be something like:

for buffer in fp.readlines():
print(buffer)

solved What does this mean? == “”