Is it possible to install Python from cmd on Windows? If so, how to do it?
https://docs.python.org/3.6/using/windows.html#installing-without-ui
Installing Without UI: All of the options available in the installer UI can also be specified from the command line, allowing scripted installers to replicate an installation on many machines without user interaction. These options may also be set without suppressing the UI in order to change some of the defaults.
To completely hide the installer UI and install Python silently, pass the /quiet option. To skip past the user interaction but still display progress and errors, pass the /passive option. The /uninstall option may be passed to immediately begin removing Python - no prompt will be displayed.
All other options are passed as name=value, where the value is usually 0 to disable a feature, 1 to enable a feature, or a path.
来源:https://stackoverflow.com/questions/46056161/how-to-install-python-using-windows-command-prompt