MCPcopy Index your code
hub / github.com/LCBOWER33/StegoScan / get_venv_python

Function get_venv_python

StegoScan.py:89–94  ·  view source on GitHub ↗

Returns the path to the Python interpreter inside the virtual environment.

()

Source from the content-addressed store, hash-verified

87
88
89def get_venv_python():
90 """Returns the path to the Python interpreter inside the virtual environment."""
91 if os.name == "nt": # For Windows, path might be different
92 return os.path.join(VENV_DIR, "Scripts", "python.exe")
93 else:
94 return os.path.join(VENV_DIR, "bin", "python3")
95
96
97def install_missing_packages():

Callers 2

install_missing_packagesFunction · 0.85
run_script_in_venvFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected