What is the perfect counterpart in Python for "while not EOF". Loop over the file to read lines: with open('somefile') as openfileobject: for line in ...
確定! 回上一頁