How to change default python in `py-launcher` at windows?

The docs have a section on customization. You can either set up a .ini file or you can set an environment variable.

If you don’t have either one (or you don’t use command line flags like py -3.10), it just picks the most recent version.