On this page
termios.error
Up: termios | Next: termios.tcdrain
Rel: termios.tcdrain, termios.tcflow, termios.tcflush, termios.tcgetattr
Ref: docs.python.org โ termios.error
Tags: #public #python3 #stdlib #termios
Import
import termios
from termios import error
Signature & Overview
termios.error(...)
termios.error class.
Methods & Attributes
error.add_note(self, note, /)โ Add a note to the exceptionerror.with_traceback(self, tb, /)โ Set self.traceback to tb and return self.
Usage
import termios
assert issubclass(termios.error, Exception)
Gotchas
- Raised when passing a non-TTY file descriptor (like a pipe or redirected stdin).
REPL Inspect
from termios import error
help(error)
Linked from
- tuts/python3/stdlib_module/termios
- tuts/python3/stdlib_module/termios/tcdrain
- tuts/python3/stdlib_module/termios/tcflow
- tuts/python3/stdlib_module/termios/tcflush
- tuts/python3/stdlib_module/termios/tcgetattr
- tuts/python3/stdlib_module/termios/tcgetwinsize
- tuts/python3/stdlib_module/termios/tcsendbreak
- tuts/python3/stdlib_module/termios/tcsetattr
- tuts/python3/stdlib_module/termios/tcsetwinsize
Related notes
- tuts/python3/stdlib_module/termios/tcdrain Linked here; links to this page; shared tags: #stdlib, #termios
- tuts/python3/stdlib_module/termios/tcflow Linked here; links to this page; shared tags: #stdlib, #termios
- tuts/python3/stdlib_module/termios/tcflush Linked here; links to this page; shared tags: #stdlib, #termios
- tuts/python3/stdlib_module/termios/tcgetattr Linked here; links to this page; shared tags: #stdlib, #termios
- tuts/python3/stdlib_module/termios Linked here; links to this page; shared tags: #stdlib
- tuts/python3/stdlib_module/termios/tcgetwinsize links to this page; shared tags: #stdlib, #termios
- tuts/python3/stdlib_module/termios/tcsendbreak links to this page; shared tags: #stdlib, #termios
- tuts/python3/stdlib_module/termios/tcsetattr links to this page; shared tags: #stdlib, #termios
- tuts/python3/stdlib_module/termios/tcsetwinsize links to this page; shared tags: #stdlib, #termios
- tuts/c/stdlib shared tags: #stdlib