sys.winver The version number used to form registry keys on Windows platforms. This is stored as string resource 1000 in the
'__main__' is the name of the scope in which top-level code executes. A module’s __name__ is set equal to '__main__' when read from standard input
sys.stdout sys.stderr File objects used by the interpreter for standard input
sysconfig.get_path_names() Return a tuple containing all path names currently supported in sysconfig.
sys.getsizeof(object[, default]) Return the size of an object in bytes. The object can be any type of object. All built-in objects
sysconfig.parse_config_h(fp[, vars]) Parse a config.h-style file. fp is
inspect.getattr_static(obj, attr, default=None) Retrieve attributes without triggering dynamic lookup via the descriptor protocol
traceback.print_exc(limit=None, file=None, chain=True) This is a shorthand for print_exception(*sys.exc_info(), limit
inspect.getclosurevars(func) Get the mapping of external name references in a Python function or method func to their
traceback.format_stack(f=None, limit=None) A shorthand for format_list(extract_stack(f, limit)).
Page 19 of 26