Sunday, July 8, 2018

Installing Python 3.7 on Windows

Installing Python 3.7 on Windows


Python is a great scripting language and is available for both Linux and Windows. The installation is very simple and straightforward and will allow you to run python scripts directly from a Windows command prompt.

Prerequisites


Download


Start by browsing to the python.org homepage from the link above and select the latest version. This example is for Python 3.7. I am running Windows 10 so I elected to download the Windows x86-64 executable installer.

Installation


Launch the above downloaded application and you should see a typical Windows application install wizard. Be sure to check both boxes for all users, and to add Python to PATH. This makes running python commands from a command prompt much easier.

Click "Install Now" and the installation should progress.


Once you see the "Setup was successful" screen, click the Close button. To verify if Python is now installed and working browse to the installation directory (Default: C:\Users\Username\AppData\Local\Programs\Python\Python37).
If you see python.exe and etc as listed above, you should be able to execute python commands/scripts from the command line. If you want to do some of your own scripting, I would highly recommend an editor such as PyCharm from Jet Brains.

No comments:

Post a Comment