Find the Python installation directory

Solved
MemeTech Posted messages 90 Status Membre -  
MemeTech Posted messages 90 Status Membre -
Hello!
My problem is quite simple: in my program, I need to use the command
python -i script_name, but unfortunately, Python is not added to the PATH on all PCs, so I’m wondering how to find the folder where Python is installed.
Thanks!

4 réponses

niangular
 
On a console, you can run "where python" and all the locations with the python command will be listed.
2