Page 124 - TP_Plus_v4_Class6
P. 124

INSTALLING PYTHON


              Follow these steps to download and install the Python software:

                                   Enter the URL http://www.python.org/downloads    1
                                   in the address bar.



                                                                                 Click on the Open  file
                                                                                 option. The Python Setup   3
                                                                                 window appears.









                             Click  on  the  Download   2
                             Python 3.10.5 button.







                                                                                       Click on Install   5
                                                                                       Now button.















                                            Select the Add  Python    4
                                            3.10 to PATH checkbox.


              The User Account Control dialog box appears. Click on Yes button.

              After a few seconds, Python will be successfully installed on your computer and ask you if you wish to
              disable the path length limit. This alters the configuration of your system and enables program and
              Python to get over the "MAX PATH" constraint of 260 characters.

                   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.



                  122  Plus (Ver. 4.0)-VI
   119   120   121   122   123   124   125   126   127   128   129