Answers for "find python path windows cmd"


how to find python location in cmd

python -c "import sys; print(sys.executable)"
Posted by: Guest on June-16-2021

find python path windows

>>> import os
>>> import sys
>>> os.path.dirname(sys.executable)
Posted by: Guest on December-09-2020

Code answers related to "find python path windows cmd"

Python Answers by Framework

Browse Popular Code Answers by Language