2. Installing and configuring the programming environment

2. Installing and configuring the programming

First, we will install Python 3. To do this, download the installer from the Python website at http://www.python.org/downloads/ and click on The “Download Python 3.xy”.

Save the installer to your hard disk.

Pop-up Firefox download recording

Launch the installer that has just been downloaded.

Security Warning

Choose “Execute” when the security warning.

Python installer - choice "all users" / "just me"

Click “Next>”.

Python Installer - choice of installation folder

Click “Next>”.

Python Installer - customization, options

Click “Next>”.

Python 3 is now installed.

2.2. Launching the Python 3 Interpreter on Windows 7

In order to verify that Python 3 is installed and working properly, we will launch the Python interpreter (or shell ).

To do this, search for “Python” in the Start menu and launch “IDLE (Python GUI)”.

Start Menu, launch Python

You must arrive on a window similar to this one:

Python Shell

You can enter a command such as “4 + 8”, then press “Enter” to get the result, as in the next capture.

Python Shell with controls

You now have a functional Python 3 runtime environment.

You can close this window.

2.2.1. Integrated Development Environment (IDE): PyCharm Community Edition

2.3. Presentation


  • Open-source
  • portable
  • free
  • JVM

2.4. Installing and Configuring PyCharm Community Edition on Windows 7

First, go to the software download page: http://www.jetbrains.com/pycharm/download/ .

PyCharm download page.

Click “Download Community” to download the Community version of PyCharm.

Pop-up Firefox download

Save the installation program.

Security Aversation

Launch the installer that has just been downloaded, and click “Run” on the security warning.

PyCharm Home Page

Click “Next>”

PyCharm installation: choice of installation folder

Click “Next>”

PyCharm installation: desktop shortcut

Check the checkmark to put a shortcut on the desktop, and click “Next>”.

PyCharm installation: menu shortcut menu

Click “Install” to install the software.

PyCharm installation: fine

Click “Finish” to complete the installation.

PyCharm Shortcut

Launch PyCharm using the shortcut on the desktop (or from the Start menu).

Since this is the first launch of PyCharm, we will proceed to its configuration.

PyCharm: importing settings

Click “OK”.

PyCharm: configuration options

Click “OK”.

PyCharm: home screen

Click “Configure”.

PyCharm: home configuration

Click “Settings”.

PyCharm: settings

Click on “Project Interpreter” and then on “Configure Interpreters”.

PyCharm: interpreter added

Click the “+” to the right, then select the Python interpreter to use.

PyCharm: interpreter configuration

The interpreter is now known to the development environment.

Click “OK”.

PyCharm: back home

Click the arrow to return to the Home screen.

2.5. First Python 3 project with PyCharm Community Edition

We will create a project containing a Python program and run this program to verify that everything works.

PyCharm: home

On the PyCharm home screen, click “Create New Project”.

PyCharm: new project

Enter a name for the new project and click “OK.”

PyCharm: tip of the day

Uncheck “Show Tips on Startup” (under if you want to see this window each time), and click “Close”.

PyCharm: add new Python file

We will add a Python file to our project. To do this, right click on the project name, then click “New” and then “Python File”.

PyCharm: new Python file name

Enter the file name.

PyCharm: File Editing

Edit the file by adding a print command, for example, as in the previous capture.

PyCharm: launch script

We will run this Python program. To do this, we need to add a run configuration to our project. Right click on the project name and click on ‘Run’ test ‘”. This will execute ( run ) the file we were working on ( test.py ).

PyCharm: execution result

At the bottom appeared a new frame containing the result of the execution of our program.

Now we can use the green arrow at the top right to restart the same file.

Do you believe your knowledge of Java, PHP, SQL, web development or computer programming is not enough? You’re welcome to approach professional web developer, ‘C’ or coding expert at one of the online assignment writing companies. What can you do to get the basic help with the college homework assignment from one of the services providing homework assistance? The first step to the qualified programming help is to place your “Please, do my assignment according to my specifications” order at AssignCode.com. It is important to pay attention to the fact that there are many experts eager to help both – the beginners and those, who know how to create a computer program or even PC games. If you’re tired of reading books for dummies or taking courses that you don’t seem to learn anything from, find someone competent enough to help you learn the matter better than any book or school tutor. A reputed custom writing service provides many jobs for programming gurus, which means you won’t have to live forever to find the most reliable one!

Related posts

Leave a Comment