io.RawIOBase

class io.RawIOBase[source]

Base class for raw binary I/O.

Methods

__enter__
__exit__
__format__ default object formatter
__new__((S, ...)
__reduce__ helper for pickle
__reduce_ex__ helper for pickle
__sizeof__(() -> int) size of object in memory, in bytes
__subclasshook__ Abstract classes can override this to customize issubclass().
_checkClosed
_checkReadable
_checkSeekable
_checkWritable
close Flush and close the IO object.
fileno Returns underlying file descriptor if one exists.
flush Flush write buffers, if applicable.
isatty Return whether this is an ‘interactive’ stream.
read
readable Return whether object was opened for reading.
readall Read until EOF, using multiple read() call.
readline Read and return a line from the stream.
readlines Return a list of lines from the stream.
seek Change stream position.
seekable Return whether object supports random access.
tell Return current stream position.
truncate Truncate file to size bytes.
writable Return whether object was opened for writing.
writelines

Attributes

closed
next