Basic HTML Version

|  | Table of Contents |  | View Full Version

Page 109 - 2611_SmartGPT Pro V(5.0) C-6
P. 109

    In this chapter, we will explore Python, a fun and powerful programming language. You'll learn
                     how to write simple codes to create programs and solve problems.

                               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: The interpreted language allows for easy debugging as it executes code line by line.
                       Integrated and Extensible language: We can easily integrate Python with other languages
                       such as C, 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

                     The first step to install Python is to download the latest version of the installation package from the
                     given link: https://www.python.org/downloads/

                                                                                                 Introduction to Python  107

| 104 105 106 107 108 109 110 111 112 113 114 |