Basic HTML Version

|  | Table of Contents |  | View Full Version

Page 132 - CodePilot V5.0 C6
P. 132

    After a few seconds, once the installation is complete, a message will appear saying Setup was
                      successful.

                                                                                     6    Click on the Close button.

                      Python is now installed and ready to use on your computer.

                             MODES IN PYTHON

                      Python offers two main ways to interact with the programming environment: Shell Mode and
                      Script Mode. Each mode has its own use cases and advantages depending on the task at hand.

                      SHELL MODE
                      Shell Mode allows you to execute Python code interactively. You can type Python code directly

                      at the prompt (>>>) and it will be executed immediately. This is a great way to experiment with
                      Python syntax or perform quick calculations.
                      To start Python and work in Shell Mode, follow the given steps:

                                                      2    Type IDLE in the
                                                             search box.

                                                         3    Click on IDLE
                                                     (Python 3.13 64-bit)

                          1    Click on the
                            Start button.

                      The main IDLE window will appear.  IDLE  stands for  Integrated  Development  and  Learning
                      Environment. It is a code editor that allows you to write and run Python programs directly within
                      the editor.

                      130
                            CodePilot (V5.0)-VI

         5

| 127 128 129 130 131 132 133 134 135 136 137 |