The standalone installer is quite old and frankly weird. You're meant to use `py -3` or something like that. I don't know why it works this way. Tbh I think the official store installer works much more sensibly.
Back when I had a large python2 and python3 code bases side by side, I had a small handler that I installed for .py files that read the #! line and tried to figure out which python version to call, and defaulted to Python3 if it couldn't find a #! line. I always felt this was the "correct" way of solving this.
Nowadays, I just only install Python3 on machines, so it's not really a problem for me anymore.
Nowadays, I just only install Python3 on machines, so it's not really a problem for me anymore.