In summary, the Python shell allows the user to communicate with the Python interpreter in an interactive way, hence the name Python interactive shell.
The Python shell is where most beginners start learning and exploring the Python language. In fact, its simple and clean interface helps them get familiar with new Python concepts and experiment with Python code.
Note 1: A distinction must be made between a Python shell and an operating system’s shell like for example Command Prompt or PowerShell. They look similar but the first one allows to interact with the Python interpreter whereas the second allows to interact with the operating system of your computer.
Note 2: A distinction must also be made between the Python shell and the Python interpreter. Some Python documentation erroneously use the two terms interchangeably, but in reality they refer to different computer programs.
Note 3: There are several Python shells with varying features in the Internet. The standard Python distribution comes with two Python shells, which are the default shell described earlier and IDLE.
Note 4: The Python shell is not mandatory for executing Python code. Later in this course, we will see that Python code can also be executed by double-clicking a Python script, or by using the script mode of the Python interpreter.