Comment

Mike Thomas

No! Why have you left this error in place on a page with the top Google hit for "Python readlines vs readline". readline() DOES read in a line. To be exact, it reads from the buffer until it includes a newline and returns that as a string.