Page 85 - PlugGPT_V2.0_C7_Flipbook
P. 85

Interpreted Language: The code you create in Python is executed line by line which makes

                    it easy to correct any errors. On execution, a Python code is immediately converted into an
                    intermediate form. This is known as byte code. The byte code makes it easier to execute or
                    run the code in future.

                     Dynamically Typed Language: Python is a dynamically typed language. This means that you
                    do not need to declare the type of variables in advance. For example, if you write a = 15, you
                    do not need to specify the variable a as an integer or string.

                     INSTALLING PYTHON

                 Follow these steps to download and install the Python software:

                 Step 1   Open the website http://www.python.org/downloads.
                 Step 2   Click on the Download Python 3.12.4 button. The Python Setup will be downloaded.


















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

                 Step 4   Select the Add Python.exe to PATH checkbox.
                 Step 5   Click on Install Now button.

                 The User Account Control dialog box appears. Click on Yes button. Python will be installed on
                 your computer. Click on the Close button when Setup was successful is shown.


















                     PROGRAMMING IN PYTHON

                 Python has two basic programming modes—Interactive mode and Script mode.




                                                                          Introduction to Programming Python         83
   80   81   82   83   84   85   86   87   88   89   90