1 | initial version |
No, the Python 3 file.readline method reads only until it reaches the next newline character (\n) or until the end of the line. To read until the end of the file, you can use a while loop or the file.readlines() method to read all the lines in the file at once.