Is there any way to download and install and add to path Python automatically with just one command or just series of commands with bat file?
I have tried with downloading and installing with following commands:
To download installer:
curl https://www.python.org/ftp/python/3.7.9/python-3.7.9-amd64.exe -o python_install.exe
To install:
python_install.exe /passive InstallAllUsers=1 PrependPath=1 Include_test=0 Include_pip=1
But this does not add Python to path even after using PrependPath=1
.