UnicodeError.encoding
  • References/Python/Python/Built-in Exceptions

encoding The name of the encoding that raised the error.

2025-01-10 15:47:30
StopIteration
  • References/Python/Python/Built-in Exceptions

exception StopIteration Raised by built-in function

2025-01-10 15:47:30
FileNotFoundError
  • References/Python/Python/Built-in Exceptions

exception FileNotFoundError Raised when a file or directory is requested but doesn’t exist. Corresponds to errno

2025-01-10 15:47:30
UnicodeError.start
  • References/Python/Python/Built-in Exceptions

start The first index of invalid data in

2025-01-10 15:47:30
UnicodeError.object
  • References/Python/Python/Built-in Exceptions

object The object the codec was attempting to encode or decode.

2025-01-10 15:47:30
UnboundLocalError
  • References/Python/Python/Built-in Exceptions

exception UnboundLocalError Raised when a reference is made to a local variable in a function or method, but no value has been

2025-01-10 15:47:30
BaseException
  • References/Python/Python/Built-in Exceptions

exception BaseException The base class for all built-in exceptions. It is not meant to be directly inherited by user-defined

2025-01-10 15:47:30
OSError.filename
  • References/Python/Python/Built-in Exceptions

filename filename2 For exceptions that involve a file system path (such as

2025-01-10 15:47:30
UnicodeEncodeError
  • References/Python/Python/Built-in Exceptions

exception UnicodeEncodeError Raised when a Unicode-related error occurs during encoding. It is a subclass of UnicodeError

2025-01-10 15:47:30
BaseException.with_traceback()
  • References/Python/Python/Built-in Exceptions

with_traceback(tb) This method sets tb as the new traceback for the exception and returns the exception object. It

2025-01-10 15:47:30