A union of curiosity and data science

Knowledgebase and brain dump of a database engineer


Find Python Path

from command line :

python c - "import sys, os; print(os.path.dirname(sys.executable))"



from python: 

import sys, os
os.path.dirname(sys.executable)



 

python --version

python -V

Add comment