sys.implementation An object containing information about the implementation of the currently running Python interpreter. The
classmethod from_callable(obj, *, follow_wrapped=True) Return a Signature (or its subclass) object for a given
inspect.getsource(object) Return the text of the source code for an object. The argument may be a module, class, method, function
offset For syntax errors - the offset into the text where the error occurred.
atexit.register(func, *args, **kargs) Register func as a function to be executed at termination. Any optional arguments
inspect.getfile(object) Return the name of the (text or binary) file in which an object was defined. This will fail with a
inspect.formatargspec(args[, varargs, varkw, defaults, kwonlyargs, kwonlydefaults, annotations[, formatarg, formatvarargs, formatvarkw, formatvalue, formatreturns,
inspect.stack(context=1) Return a list of frame records for the caller’s stack. The first entry in the returned list represents
sys.prefix A string giving the site-specific directory prefix where the platform independent Python files are installed; by
sys.getdefaultencoding() Return the name of the current default string encoding used by the Unicode implementation.
Page 1 of 26