2👍
✅
It is very likely that the py extension is linked with the editor rather than the Python interpreter.
Right-click on a py file and click “Open with” then select the default program and choose ‘C:…\Python2x\python.exe’
That should fix the pb
👤luc
Source:stackexchange.com