Installing Python

In this course we work with Python version 3.
Normally any 3.x version would be fine, but we suggest working with the latest version (3.9 as of October 2020).

Go to
You will find there links to download Python 3 for various operating systems.
The installation process takes a few moments and requires just a few next clicks.

If for example you work with Windows, after you install python, you'll see in the "start menu" a folder named python 3.x, where x is the version you installed, containing several links.
One of them is "IDLE" - this is the recommended working environment for you this semester.

This YouTube video might ease the very first steps with Python:
It explains how to start and use Python command line and Python IDLE (as mentioned, we recommend IDLE for you).

After you install Python, check this to figure out how to run programs: PDF

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

Finally, if you want to make IDLE the default editor for Python, see

Important comments:

1) 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.

2) 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.

3) When you save a Python file, make sure it has a ".py" extension (for example: "").

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