Aug-13-2017, 08:51 PM
Another way, I believe, is to add a shebang line at the beginning of the script. Then double clicking the "my_file.py" in Windows or typing "./my_file.py" in Linux with run the correct version.
If it ain't broke, I just haven't gotten to it yet.
OS: Windows 10, openSuse 42.3, freeBSD 11, Raspian "Stretch"
Python 3.6.5, IDE: PyCharm 2018 Community Edition
OS: Windows 10, openSuse 42.3, freeBSD 11, Raspian "Stretch"
Python 3.6.5, IDE: PyCharm 2018 Community Edition