exception OSError([arg]) exception OSError(errno, strerror[, filename[, winerror[, filename2]]]) This exception
exception NameError Raised when a local or global name is not found. This applies only to unqualified names. The associated
exception BytesWarning Base class for warnings related to
exception IsADirectoryError Raised when a file operation (such as
exception ArithmeticError The base class for those built-in exceptions that are raised for various arithmetic errors:
exception RuntimeWarning Base class for warnings about dubious runtime behavior.
exception ConnectionError A base class for connection-related issues. Subclasses are
exception BrokenPipeError A subclass of ConnectionError, raised when trying to write on a pipe while the other
exception ImportWarning Base class for warnings about probable mistakes in module imports.
exception UnboundLocalError Raised when a reference is made to a local variable in a function or method, but no value has been
Page 2 of 8