Page 106 - Touchpad_Plus_V3.2_Class 6
P. 106
You can also install the Python IDLE (Integrated Development and Learning Environment)
separately. It is a code editor which helps you to write and execute Python programs in the editor
itself. Follow the below steps to install Python IDLE:
Step 1 Open the Terminal and type the following command:
$ sudo apt-get install idle-python3.12
Step 2 Press the Enter key. When you press the Enter key, Terminal will ask you to enter the
password.
Installing Python IDLE
The process of installing of python begins.
PROGRAMMING IN PYTHON
Python has two basic programming modes—Script Mode and Interactive Mode.
Working in Interactive Mode
Interactive Mode is a command-line shell that gives an immediate result for each command. In
Interactive mode, we type one command at a time. Python executes the given command and
displays the output.
Follow these steps to start Python and work in Interactive
Mode:
Step 1 Click on Show Apps button.
Step 2 Type idle in the Search box.
Step 3 Click on IDLE (using Python). The Python IDLE
window opens in the Interactive mode.
Opening Python IDLE
104 Plus (Ver. 3.2)-VI

