Complete guide to Python exceptions, error types, and how to fix them.
Occurs when trying to access a variable or function that hasn't been defined.
Occurs when performing an operation on incompatible data types.
Occurs when Python parser encounters invalid syntax.
Occurs when indentation is incorrect or inconsistent.
Occurs when trying to access an attribute or method that doesn't exist on an object.
Occurs when trying to access a dictionary key that doesn't exist.
Occurs when a function receives the correct type but an inappropriate value.
Occurs when trying to access an index that doesn't exist in a list or tuple.
Occurs when trying to import a module that cannot be found or loaded.
Occurs when trying to divide a number by zero.
Occurs when trying to open a file that doesn't exist.
Occurs when trying to import a module that is not installed or not found.
Occurs when trying to access a file or directory without proper permissions.
A general operating system error occurred, such as file system or network issues.
A generic runtime error occurred that doesn't fit into other specific error categories.