Tuesday, 25 August 2020

Convenient way to run multiple python interpreters on single machine. Can indicate interpreter path inside script?

Suppose I have 2 python scripts A and B. A uses C:\python385\python.exe as interpreter. B uses C:\Anaconda\python.exe. My objective is to double-click on the python file on Windows 10, then have the script run on the interpreter I want.

Is there a convenient way to indicate the interpreter path inside the script? I am welcome to other methods to achieve my objective.

I am using windows 10, python 3.8, anaconda distribution.



from Convenient way to run multiple python interpreters on single machine. Can indicate interpreter path inside script?

No comments:

Post a Comment