Answers for "python location windows 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

Python Answers by Framework

Browse Popular Code Answers by Language