Skip to content
Python Big-O: Time & Space Complexity
Exceptions
Initializing search
GitHub
Home
Built-in Types
Built-in Functions
Standard Library
Implementations
Versions
Python Big-O: Time & Space Complexity
GitHub
Home
Built-in Types
Built-in Types
Overview
Lists
Dictionaries
Sets
Tuples
Strings
Bytes & Bytearray
Frozenset
Range
Integer
Float
Boolean
Built-in Functions
Built-in Functions
Length
Maximum
Minimum
Sum
Map
Filter
Zip
Sorted
Enumerate
All
Aiter
Anext
Any
Absolute
Power
Round
Ord
Chr
Reversed
Divmod
Slice
Iter
Issubclass
Open
Hash
Format
Isinstance
Next
Input
Id
Globals
Locals
Print
Help
Repr
Ascii
Eval
Exec
Compile
Hex
Bin
Breakpoint
Oct
Type
Callable
Bool
Int
Float
Str
Bytes
List
Dict
Set
Frozenset
Tuple
Bytearray
Complex
Memoryview
Object
Exceptions
Exceptions
Table of contents
Exception Hierarchy
Complete Exception Tree
Core Exception Reference
Base Exceptions - Time: O(1)
BaseException
SystemExit - Program Exit
KeyboardInterrupt - User Interrupt
GeneratorExit - Generator Cleanup
Arithmetic Errors - Time: O(1)
ZeroDivisionError - Division by Zero
FloatingPointError - Float Operation Error
OverflowError - Number Too Large
ArithmeticError - Base Arithmetic Error
Lookup Errors - Time: O(1)
KeyError - Dictionary Key Not Found
IndexError - Index Out of Range
LookupError - Base Lookup Error
Type and Value Errors - Time: O(1)
TypeError - Wrong Type
ValueError - Wrong Value
AttributeError - Attribute Not Found
NameError - Name Not Found
UnboundLocalError - Local Variable Not Bound
Unicode Errors - Time: O(n) where n = string length
UnicodeError - Unicode Problem
UnicodeDecodeError - Decoding Failed
UnicodeEncodeError - Encoding Failed
UnicodeTranslateError - Translation Failed
I/O and OS Errors - Time: O(1)
OSError - Operating System Error
FileNotFoundError - File Not Found
FileExistsError - File Already Exists
IsADirectoryError - Expected File, Got Directory
NotADirectoryError - Expected Directory, Got File
PermissionError - Permission Denied
TimeoutError - Operation Timeout