Installing Python

In this course we work with Python version 3.6.
To download and install it, go to
The installation process takes a few moments and requires just a few next clicks.
Make sure to check the Add Python to PATH box. This will ease things later on when we wish to install external packages.


Note: Do not install any 2.x version. There are some differences between 2.x and 3.x versions which may cause you trouble when running code from class, and may result in misbehavior of the HW tests.

After installation ends, if your operatinע system is MS Windows, you will see in the "start menu" a folder named python 3.6, containing several links.
One of them is "IDLE (Python GUI)" - this is the recommended working environment for you this semester.
Under Linux operating system, the menu sequence for python is applications => programming => IDLE (using python 3.6).

This YouTube video might ease the very first steps with Python:
It explains how to start and use Python command line and Python IDLE.

You may also find this explanation about accessing history of previous commands in IDLE helpful:

Important comment:
When saving .py files, make sure the file location path does not contain any folders in Hebrew. In some operating systems this prevents you from running them.

Recommended Reading about Python:

1. Python 3 documentation,, is the official language manual, and a very useful resource.
2. Think Python, by Allen B. Downey, which is available online.
3. A book by John Zelle, “Python programming: an introduction to computer science”, second edition. Fraklin, Beedle & Associates. The second edition refers to Python 3.x, which is the version used in the course.
4. the free web book Dive Into Python:

Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-ShareAlike 3.0 License