How to find where Python is Installed on Windows?
I just installed Python 3.8 in window 10. How can I get the full path of install Python on my laptop? For example:
How can I find it?
Pablo Humberto Arriola Agudelo Jul 31 2021
You can do as below with some lines of code:
import sys locate_python = sys.exec_prefix print(locate_python)
Hope it works for you.
yaswanth Thamidallapati Jul 31 2021
I do as below and it worked for me.
import os import sys path = os.path.dirname(sys.executable) print(path)
Deepak M Jul 31 2021
syspackage, you can find a lot of useful information about your installation:
import sys print(sys.executable) print(sys.exec_prefix)