News

Instructions: How to install Python

Scroll Down
Published:

Python courses in Kyiv for children – take the first step into the world of programming with the GoMother IT school.

Installing Python will only take 10 minutes.

Although online Python interpreters are useful for quickly testing simple solutions, they are not sufficiently functional for full-fledged work. To use the full power of Python, you need to install it on your computer, after which you can use any libraries and write complex code.

In this article, we will introduce you to how to install Python on a Windows computer and get started with it. For MacOS the procedure is almost identical, but for Linux, you probably already know how to do it.

Download and Install

The first step is to download the Python installer from the official website – python.org. Please note that downloading Python from other sources may result in viruses or malware. Always install applications only from official sources.

Python courses in Kyiv for children are a quick way to master programming!

Even though Python 3 was released 10 years ago, there is still a debate about which version is better – 2 or 3. We prefer the progress and choose Python 3, but you can choose any other version.

On the home page, you will see a large yellow button that says “Download Python.” Click on it, save the file, and run it. The file size is approximately 25 megabytes.

The big yellow button is for downloading the latest version of Python. During installation, you will be asked how you want to configure Python. Select the first option – “Install Now”. After installation is complete, the program will offer to remove restrictions on the length of the system variable, which is responsible for the ability to run Python from anywhere. To do this, simply click the text in the frame. Once the installation is complete, make sure everything is successful. At the command prompt, type “py” or “python” and press Enter. If everything is correct, Python will respond with its version number and you will see several commands to familiarize yourself with.

You are using Python 3, welcome.

Starting the program

Currently, Python can only be used via the command line, you must enter the commands to be executed. This is convenient for many developers, but it may not be very convenient for beginners. For example, to run the program you need to enter the following command at the command line:

py your_file.py

In this case, “your_file.py” is the full path to the file, including the drive and path to the folder where it is located. To understand better, let’s take an example of any Python code and save it in a file called “timer.py3” on drive D. “py3” means that this file uses Python 3. You can also just name the file “python”. py”, without the “3”, but for some cases this may be important.

Now to run our code, enter the following command at the command prompt:

py D:\timer.py3

Ready! Congratulations on your first step in the IT world. Python courses in Kyiv is a course on learning the Python programming language for children from 8 years old online or at Akademgorodok metro station, Zhitomirskaya metro station.

Register for an online lesson

Take the first step towards a successful future of your child.

Child looks up!