Answers for "how to check python location in cmd"

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 check python location in cmd"

Python Answers by Framework

Browse Popular Code Answers by Language