I have several versions of python on my win 10 pc (from where I am not sure), however when I would click on a python file in windows explorer (or even just typing file_name.py or .pyw in cmd window) would use very old version of python (2.7 or so) instead of my 3.72 version of preference. So I used this nifty program called Types to fix the problem once and for all!