obspy.core.util.misc.CaptureIO

class CaptureIO[source]

Bases: _io.TextIOWrapper

Attributes

__dict__
__doc__
__module__ str(object=’‘) -> str
buffer
closed
encoding
errors
line_buffering
name
newlines

Public Methods

close
detach
fileno
flush
getvalue
isatty
read
readable
readline
readlines Return a list of lines from the stream.
seek
seekable
tell
truncate
writable
write
writelines

Private Methods

Warning

Private methods are mainly for internal/developer use and their API might change without notice.

_checkClosed
_checkReadable
_checkSeekable
_checkWritable

Special Methods

__dir__ default dir() implementation
__enter__
__exit__
__format__ default object formatter
__getstate__
__init__
__new__ Create and return a new object.
__reduce__ helper for pickle
__reduce_ex__ helper for pickle
__sizeof__ size of object in memory, in bytes
__subclasshook__ Abstract classes can override this to customize issubclass().