PyDocs

Nav

Generic Operating System Services

IOBase.readline

io

method of IOBase
  • IOBase.readline(size=-1, /)
Read and return a line from the stream.

If size is specified, at most size bytes will be read.

The line terminator is always b'\n' for binary files; for text
files, the newlines argument to open can be used to select the line
terminator(s) recognized.
0 Examples
No examples for io/IOBase.readline.
See Also
No see-alsos for io/IOBase.readline
0 Notes
No notes for IOBase.readline