Search snippets
Browse Code Answers
FAQ
Usage docs
Log In
Sign Up
Home
Python
how to find where python is located
Annie
Programming language:
Python
2021-02-01 01:21:43
0
Q:
how to find where python is located
Hektor von Vector
Code:
Python
2021-01-24 01:00:12
>>> import os >>> import sys >>> os.path.dirname(sys.executable) 'C:\\Python25'
6
Tags
python
find
how
Related
python check file extension
how to check whether file exists in python
find location of a class in python
python find specific file in directory
how to check in which directory python in running
find location of library python linux
how to find where python modules are installed
python how to see if file is directory
which folder python os
find in python
where is python installed windows
how to check if a string is in a file python
python list all files in directory
python find if part of list is in list
python find()
python list files in current directory
python find in list
New to Communities?
Join the community