Skip to content

Build in classes and functions

Build-in classes:

Errors:

ArithmeticError, AssertionError, AttributeError, BlockingIOError, 
BrokenPipeError, BufferError, ChildProcessError, ConnectionAbortedError, 
ConnectionError, ConnectionRefusedError, ConnectionResetError, EOFError, 
EnvironmentError, FileExistsError, FileNotFoundError, FloatingPointError, 
IOError, ImportError, IndentationError, IndexError, InterruptedError, 
IsADirectoryError, KeyError, LookupError, MemoryError, ModuleNotFoundError, 
NameError, NotADirectoryError, NotImplementedError, OSError, OverflowError, 
PermissionError, ProcessLookupError, RecursionError, ReferenceError, 
RuntimeError, SyntaxError, SystemError, TabError, TimeoutError, TypeError, 
UnboundLocalError, UnicodeDecodeError, UnicodeEncodeError, UnicodeError, 
UnicodeTranslateError, ValueError, WindowsError, ZeroDivisionError

Warnings:

Warning, BytesWarning, DeprecationWarning, FutureWarning, ImportWarning, 
PendingDeprecationWarning, ResourceWarning, RuntimeWarning, SyntaxWarning, 
UnicodeWarning, UserWarning

Exception, BaseException

GeneratorExit, KeyboardInterrupt, StopAsyncIteration, StopIteration, SystemExit

Other

classmethod
enumerate
filter

object  : Base class of all (class?) objects

type    : Type of some built-in types and the meta-type for the concept of a class

property
reversed
slice
staticmethod
super
zip

dict
list, tuple, range
set, frozenset
map

str, bytes, bytearray, memoryview

bool, int, float, complex

None


NotImplemented

False
True

Ellipsis

Built-in functions

abs(), max(), min(), pow(), round(), sum(), divmod()

bin(), oct(), hex()

all(), any()

ascii()
chr(), ord()
format(), print(), input()

breakpoint()
callable()
compile()
dir()

eval(), repr()
exec()
id()
hash()

getattr(), setattr(), hasattr(), delattr()

globals(), locals(), vars()

isinstance(), issubclass()

iter()
len()
next()
sorted()

open()

copyright()
credits()
license()

exit()
quit()

help()

__name__
__doc__
__package__
__loader__
__spec__
__annotations__
__builtins__
__file__
__cached__
__debug__
__build_class__
__import__