Hi,
The best way to install Python through Windows Command Prompt will be through Chocolatey (Windows Package Manageer).
Steps to install python 3 will be as follows :-
Open CMD using 'Run as Administrator'.
Download and Install Chocolatey using the following command.
@"%SystemRoot%\System32\WindowsPowerShell\v1.0\powershell.exe" -NoProfile -InputFormat None -ExecutionPolicy Bypass -Command "iex ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1'))" && SET "PATH=%PATH%;%ALLUSERSPROFILE%\chocolatey\bin"
Download and install python using the following command.
choco install -y python3
You can check the version to verify if Python was successfully installed as follows.
python --version