Page 103 - Plus_V2.2_C6_Flipbook
P. 103

Downloading Python
                 Step 3:   Double-click on the downloaded software. You can either look at
                         the bottom of the screen or locate the software in the Downloads
                         folder of your computer. The Security Warning dialog box appears.

                 Step 4:  Click on Run button. The Python Setup window appears.
                 Step 5:  Select the Add Python 3.8 to PATH checkbox.
                 Step 6:  Click on Install Now button.

                 After a few seconds, Python will be successfully installed on your computer.


                        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 which gives  immediate
                 result for each command. In Interactive mode,  we type one command
                 at a time. Python executes the given command and gives the output.

                 Follow these steps to start Python and work in Interactive Mode:
                 Step 1:   Click on Start button.

                 Step 2:   Scroll down the  list  of programs  and  click on  Python  3.8
                         folder.
                 Step 3:  Click on IDLE (Python 3.8 64-bit).
                 The main  IDLE window appears. IDLE stands for  Integrated                      Opening Python
                 Development and Learning Environment. It is a code editor which helps you to write and execute
                 Python programs in the editor itself.





                                                                                        Introduction to Programming  101
   98   99   100   101   102   103   104   105   106   107   108