Functionsยง
- detect_
python - Detect the Python executable name available on this system.
Tries
python3first (Linux/macOS convention), then falls back topython. Returns an error if neither is found. - profile_
input - Profile Python code using the built-in cProfile via a Python subprocess. Uses a default of 100 iterations.
- profile_
input_ with_ iterations - Profile Python code with a configurable iteration count.
Wraps
profile_input_corewith the given loop count.