Basic HTML Version

|  | Table of Contents |  | View Full Version

Page 140 - 2620_Birla Open Mind C-6
P. 140

    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.

                      138  Premium Edition-VI

| 135 136 137 138 139 140 141 142 143 144 145 |