inspect.isawaitable()
  • References/Python/Python/Runtime

inspect.isawaitable(object) Return true if the object can be used in await expression. Can

2025-01-10 15:47:30
sysconfig.get_platform()
  • References/Python/Python/Runtime

sysconfig.get_platform() Return a string that identifies the current platform. This is used

2025-01-10 15:47:30
sys.ps2
  • References/Python/Python/Runtime

sys.ps2 Strings specifying the primary and secondary prompt of the interpreter. These are only defined if the interpreter is

2025-01-10 15:47:30
site.main()
  • References/Python/Python/Runtime

site.main() Adds all the standard site-specific directories to the module search path. This function is called automatically

2025-01-10 15:47:30
inspect.iscode()
  • References/Python/Python/Runtime

inspect.iscode(object) Return true if the object is a code.

2025-01-10 15:47:30
traceback.format_exc()
  • References/Python/Python/Runtime

traceback.format_exc(limit=None, chain=True) This is like print_exc(limit) but returns a string instead of printing

2025-01-10 15:47:30
warnings.filterwarnings()
  • References/Python/Python/Runtime

warnings.filterwarnings(action, message='', category=Warning, module='', lineno=0, append=False) Insert an entry into the list

2025-01-10 15:47:30
contextlib.closing()
  • References/Python/Python/Runtime

contextlib.closing(thing) Return a context manager that closes thing upon completion of the block. This is basically

2025-01-10 15:47:30
traceback.TracebackException.
  • References/Python/Python/Runtime

__suppress_context__ The __suppress_context__ value from the original exception.

2025-01-10 15:47:30
sys.flags
  • References/Python/Python/Runtime

sys.flags The struct sequence flags exposes the status of command line flags

2025-01-10 15:47:30