Python aliases under Windows?

Kirill Balunov kirillbalunov at
Tue Apr 3 10:26:39 EDT 2018

2018-04-03 16:15 GMT+03:00 Ian Kelly <ian.g.kelly at>:

> Creating python2.bat and python3.bat instead would take up less
> additional disk space and would not need to be modified every time you
> reinstall a new release of the same minor version.
Thank you!

> > This
> > copy-rename works for me, but it will not work for someone who does not
> > have administrative rights.
> They could put them under their user folder and add the folder to
> their path, although that's creeping into power user territory. Then
> again, they *are* using IPython...
> > p.s.: I know there is a `py` launcher under Windows, but is does not help
> > in this situation.
> I don't understand. Is 'py -3' that much harder to type than 'python3'
> when running in Windows?

IPython is  only one of the examples, instead you can substitute Jupyter,
subprocess. As I wrote before:

> I have two options:
> 1. To wriie a shell script for `py` under Linux.
> 2. To copy-rename to python3 under Windows.
> Both are easy, but a little bit strange to do.

which seems unnecessary. There is already `pip.exe`, `pip3.exe`,
`pip3.6.exe` in Scripts sub-folder which in my opinion solve the same

With kind regards,

More information about the Python-list mailing list