inspect.isawaitable(object) Return true if the object can be used in await expression. Can
sysconfig.get_platform() Return a string that identifies the current platform. This is used
sys.ps2 Strings specifying the primary and secondary prompt of the interpreter. These are only defined if the interpreter is
site.main() Adds all the standard site-specific directories to the module search path. This function is called automatically
inspect.iscode(object) Return true if the object is a code.
traceback.format_exc(limit=None, chain=True) This is like print_exc(limit) but returns a string instead of printing
warnings.filterwarnings(action, message='', category=Warning, module='', lineno=0, append=False) Insert an entry into the list
contextlib.closing(thing) Return a context manager that closes thing upon completion of the block. This is basically
__suppress_context__ The __suppress_context__ value from the original exception.
sys.flags The struct sequence flags exposes the status of command line flags
Page 6 of 26