Basic HTML Version

|  | Table of Contents |  | View Full Version

Page 85 - 2617_JSSPS_C-8
P. 85

    Open-source language: Python is a free and open-source programming language. An open-source
                       language can be easily improved and distributed by anyone. You can download Python free of cost
                       and use it on any operating system such as Windows, MacOS or Linux.
                         Object-oriented:  Python  has  an  object-oriented  approach.  This  means  that  the  programs are

                       designed using objects and classes that interact with each other.
                         Integrated and extensible language: We can easily integrate Python with other languages such as
                       C and C++. A programmer can write extensions in C or C++ to extend Python’s capabilities, especially
                       for performance-critical tasks and these are compiled into shared libraries that Python can use.

                         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 the 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 as an integer or string.

                     INSTALLING PYTHON

                     Follow these steps to download and install the Python software:

                                            Enter the URL  https://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 Python 3.12.4 button.     2
                                     The Python Setup will be downloaded.

                                                                                           Click  on  Install   5
                                                                                           Now button.

                                                   Select the Add                    4
                                                   Python.exe to PATH checkbox.

                                                                                               Introduction to Python   83

| 80 81 82 83 84 85 86 87 88 89 90 |