Answers for "how to find python location on windows"

1

how to find python location in cmd

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

location of python in cmd

python -c "import os, sys; print(os.path.dirname(sys.executable))"
Posted by: Guest on July-13-2021

Code answers related to "how to find python location on windows"

Python Answers by Framework

Browse Popular Code Answers by Language