Page 296 - Artificial Intellegence_v2.0_Class_9
P. 296
3. Click on the setup file to start installation. The Python Setup wizard appears.
4. Select the Add Python 3.11.5 to PATH check box and click on the Install Now
option.
Python Setup Wizard
After the setup progress is complete then the given message will be displayed showing "Setup was successful".
Now, Python is available in your Start Menu and also as a shortcut on the desktop. When you open the Python,
Python IDLE shell window opens. IDLE stands for Integrated Development and Learning Environment. It is a
code editor which helps you to write and execute Python programs in the editor itself.
Python IDLE
Brainy Fact
Many big companies like Facebook, Google, NASA, MIT, Nokia, IBM and many more use Python for
their products and services.
Working in Python
We can interact with Python in two different modes:
• Interactive Mode (Python IDLE-Shell Mode): In this mode, you type one command at a time in front of the
Python command prompt (>>>) and Python gives you the result based on the command given. It means you
run code directly on shell mode accessed through the terminal of an operating system. This mode will not save
your commands and outputs and should be used only when you want to play with small one-line instructions.
You can also use the print( ) function to print the messages on the Shell window. For example,
294 Touchpad Artificial Intelligence (Ver. 2.0)-IX

