sys.
  • References/Python/Python/Runtime

sys._current_frames() Return a dictionary mapping each thread’s identifier to the topmost stack frame currently active in that

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

site.getsitepackages() Return a list containing all global site-packages directories.

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

sys._clear_type_cache() Clear the internal type cache. The type cache is used to speed up attribute and method lookups. Use

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

sys.exc_info() This function returns a tuple of three values that give information about the exception that is currently being

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

sys.call_tracing(func, args) Call func(*args), while tracing is enabled. The tracing state is saved, and restored

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

inspect.isroutine(object) Return true if the object is a user-defined or built-in function or method.

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

inspect.isgeneratorfunction(object) Return true if the object is a Python generator function.

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

sys.float_repr_style A string indicating how the

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

inspect.ismethoddescriptor(object) Return true if the object is a method descriptor, but not if ismethod(),

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

sys.float_info A struct sequence holding information about the float type. It contains

2025-01-10 15:47:30