Answers for "find python executable path windows"

7

how to find where python is located

>>> import os
>>> import sys
>>> os.path.dirname(sys.executable)
'C:\Python25'
Posted by: Guest on May-28-2020
3

find python path windows

>>> import os
>>> import sys
>>> os.path.dirname(sys.executable)
'C:\Python25'
Posted by: Guest on December-09-2020
5

python path to python executable

>>> import sys
>>> print(sys.executable)
C:pathtopython.exe
Posted by: Guest on April-17-2020

Code answers related to "find python executable path windows"

Python Answers by Framework

Browse Popular Code Answers by Language