Page 117 - Trackpad_V1_Book 6_Flipbook
P. 117

PYTHON


                 Python is a high level object-oriented programming language. It is a general-purpose language
                 with interactive features. Python is an open-source software and was founded by Guido Van
                 Rossum in 1991. It derives its name from a comedy program named Python's Flying Circus.
                 Python is extensively used in:

                 1.  Web Development                 2.  GUI Application Development            3.  Data Analysis
                 4.  Software Development            5.  Scientific Applications


                 FEATURES OF PYTHON PROGRAMMING

                 Python  is  a simple  and powerful language.            What language is google written in?
                 Following are the features of python:

                     Easy to understand: The syntax or grammar of Python is simpler, hence making it easier to
                     learn and understand. Writing programs in Python is easy as compared to other high-level
                     programming languages.

                     Open-source: Python is an open-source language and can be easily downloaded from the
                     Internet for free.
                     Portable: Programs  written  in Python  can run on almost  every known platform  such as
                     Windows, Linux and Macintosh.

                     Libraries and Tools: Programming in Python is easier because the libraries and supporting
                     tools make even a complicated task easy.
                     Interpreted: It is an interpreted language that executes code line by line at a time which
                     makes debugging hassle-free.

                     Integrated and Extensible language: We can easily integrate Python with other languages
                     such as C and C++. We can also write and compile a Python code in C or C++.
                     Dynamic Memory Allocation: When an object is created in Python, memory is dynamically
                     allocated to it. This memory is also retracted when it is no longer being used.

                     Object-Oriented: Python has an object-oriented approach. This means that the programs
                     are designed using objects and classes that interact with each other.




                          GETTING STARTED WITH PYTHON

                 Let us learn how to download and install python in the system.


                 DOWNLOADING AND INSTALLING PYTHON
                 To install Python, type URL: https://www.python.org/downloads/ in the address bar and press
                 Enter key.






                                                                                             Introduction to Python  115
   112   113   114   115   116   117   118   119   120   121   122