venvPython

Returns the path to the Python executable in a given virtual environment. The path varies depending on the operating system.

Return

the absolute path to the Python executable within the virtual environment

Parameters

venv

the directory of the virtual environment