method

readline

readline(eol=$/)
public

Reads a line from the stream which is separated by eol.

Raises EOFError if at end of file.