Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

how to find where python is located

>>> import os
>>> import sys
>>> os.path.dirname(sys.executable)
'C:Python25'
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #find #python #located
ADD COMMENT
Topic
Name
7+9 =