Answers for "find python path windows cmd"

1

how to find python location in cmd

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

find python path windows

>>> import os
>>> import sys
>>> os.path.dirname(sys.executable)
'C:\Python25'
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