There are two main pieces of software to install, one is Python and the other is PyCharm, a Python development tool.

1. Download and install Python

1.1 download Python

Go to www.python.org and go to the Downloads page to download Python. The following figure

Of course, this is the latest version of Python.

If you need to download other versions of Python, scroll down to find a list of other versions. The following figure

Python 3.7.6 is used as an example. Click the Download button after Python 3.7.6 to go to the details page for that version. The following figure

Scroll further back to download the required version of the installation package in the Files module. In the red circle below are the Windows installation packages

The downloaded installation package looks like this

1.2 install Python

Double-click to open the file, and the initial page is as shown below

Check before adding Python 3.7 to PATH in the red circle.

If you choose the default installation location, click Install Now to Install it directly.

Select install to another location, and click Customize Installation to enter the page shown below

Here, you can directly select Next, and the check and path selection of the Next page are shown in the figure below

Remember the installation path here. Then click the Install button to enter the installation page

The following figure shows the page after the installation is successful

Is the installation successful? Enter the CMD command line interface (CLI) and run the Python command. If the Python version is displayed, the installation is successful. The following figure

If ‘python’ is not an internal or external command… , you need to add the PATH where you installed Python to the environment variable, as shown below

At this point, the Python download and installation process is complete.

2. PyCharm download and install

PyCharm is a Python IDE that comes with a full set of tools to help users improve their productivity while developing in Python, such as debugging, syntax highlighting, Project management, code jumps, smart hints, autocomplete, unit testing, and version control. In addition, the IDE provides advanced functionality to support professional Web development within the Django framework.

2.1 download PyCharm

Visit www.jetbrains.com/pycharm to download PyCharm.

Purchase authorization is required, of course. If you have an educational mailbox, you can authorize it for free.

2.2 installation PyCharm

This IDE is not special, as ordinary software installation can be.

3. First Python project “Hello World”

When running PyCharm for the first time, you need to choose the UI Theme of your page. You can choose black or white Theme according to your preference.

Then enter the page shown below

Select the first item Create New Project to Create a New Project, and then the page will look like the following image

Enter the name of the project and click Create to Create the project, as shown below

Create a new file called Helloworld.py, as shown below

Input code:

print('Hello World')
Copy the code

Then right click inside the page and select Run ‘HelloWorld’ to output what is shown in the following figure on the console

At this point, the first Python project is built.