Table of Contents

Quick Access Contents



Python W ‘s

(What?, Who?, Why?)

What is Python?

  • Python is a widely-used, interpreted, object-oriented, and high-level programming language with dynamic semantics, used for general-purpose programming.
  • The name was derived from an old BBC television comedy sketch series called Monty Python’s Flying Circus.

Who Created Python?

  • Firstly, Python is a widely-used general-purpose, high-level programming language. Secondly, It was created by Guido van Rossum in 1991 and further developed by the Python Software Foundation. It was designed with an emphasis on code readability, and its syntax allows programmers to express their concepts in fewer lines of code.

Why Python is popular?

  • Python is easy to { learn or understand, teach, use, and obtain the required resources to install and deploy (Open-source – here anyone can contribute to its development.) }
  • An easy and intuitive language just as powerful as those of the major competitors.
  • Suitable for everyday tasks, allowing for short development times.

Types of versions?

  • Python 3.x is the current version and is under active development.
  • Python 2.x is the legacy version and will receive only security updates until 2020. No new features will be implemented.
  • Note that many projects still use Python 2, although migrating to Python 3.x is getting easier. Refer to this – link for more.

Reason For Increasing popularity

  • Software quality
    • Better than traditional and scripting language
    • Readable code, hence reusable and maintainable
  • Developer Productivity
    • No lengthy compile and link steps
  • Program Portability
    • The programs can run unchanged on most platforms

  • Supported Libraries
    • Strong library support from test pattern matching to networking. Vast collections of third-party libraries.
  • Component Integration
    • Can invoke C, C++ libraries, and java components.
    • Can communicate with frameworks such as COM, .NET
  • Enjoyment
    • Easy to use
    • Built-in toolset
    • Programming becomes

Language Features

  • Interpreted.
    • There are no separate compilation and execution steps like C and C++.
    • Directly run the program from the source code.
    •  Internally, Python converts the source code into an intermediate form called bytecodes which is then translated into the native language of the specific computer to run it.
    • No need to worry about linking and loading with libraries, etc.
  • Platform Independent.
    • Python programs can be developed and executed on multiple operating system platforms like (Windows, Linux, macOS).
  • High-level Language
    • In Python, no need to take care of low-level details such as managing the memory used by the program.
  • Simple, and Open Source
    • Closer to the English language; Easy to Learn
    • Redistributable code
  • Embeddable
    • Python can be used within the C/C++ program to give scripting capabilities for the program’s users.
  • Robust
    • Exceptional handling features
    • Memory management techniques inbuilt
  • Rich Library Support
    • Since Python has a huge community many open-source developers contributed libraries so that anyone can take and make use of those libraries

Data Science Concepts

NumPy

NumPy is a popular library used to create & scientific analysis on ndarray.

Artboard 61

Pandas

It open source Python package built on top of NumPy that is most widely used for data analysis in both ML & AI taks.

MatPlotLib

Matplotlib is a comprehensive library for creating static, animated, and interactive visualizations in Python

Seaborn

Seaborn provides a high-level interface for creating attractive and informative statistical graphics visualization based on matplotlib.