You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, if we want to specify the python when py launcher is not available, we have to specify the whole command name, for example, we have to use --python python3.12 rather than --python 3.12. It would be more convenient if we can check python3.12 directly when the input value is 3.12.
Describe the solution you'd like
We can use packaging.version module to parse the input value and then compose the command f"python{python_version}" if it is a valid version number.
Describe alternatives you've considered
AFAIK, there is none.
BTW, I can submit a pull request if we agree on this change.