Introduction to Python

  • Python is purely object-oriented programming language as everything is object. 
  • Python was conceived in late 1980's by Guido Van Rossum at Central Wiskunde & Informatica in Netherlands as a successor of ABC language. 
  • He has invariably worked as a lead developer, until 12th July 2018.
  • In Jan 2019, active python core developers elected a five-member council to lead the project. 
Background, early computers were mostly used by elite Organisation such as Defence organizations, research institutions, universities etc. The computers were used for specific computations. 
There was need to build a language which is easy to be used by people who have knowledge and expertise in particular field but having no intelligence about computer. To bridge this gap, new computer languages were evolving. With similar quest, ABC language was getting created and Guido was part of the same team.

He worked to enhance ABC language but found some features were insufficient but incorporating new features took lot of approval and agreement from various parties. At the end Guido decided to create a language. It was a Chrismas time when people working in ABC project were on leave, Guido decided to utilize that time and start working on developing Python. He was  able to create a working protype with interpreter and related software during Chrismas time. He showed his work to people working in ABC team and all were amazed with the feature of new language. This is how python was conceived. 
Inspiration for Name - Python is tribute to British Comedy group Monty Python's Flying Circus **. This show was trending at that time in particular region. 

Python was created to ease learning path and start developing applications quickly. So, it's easy to learn and implement. 

Version History

Python 1. 0 - 1994
Python 2.0 - 2000
Python 3.0 - 2008

Latest version - 3.13.2

Upgraded python doesn't have backward compatibility. (ie. program in python 2 version might not work in python3 and vice versa) 

Implementation in Python

  • CPython(Traditional python implementation)
  • JPython(Python running on JVM)
  • Iron Python (.net compatible version by Microsoft)
  • Stackless Python (C python with support for micro-threads)
  • Micro Python(Running on microcontrollers)
... and more ..... 

** Programming to learn C, C++, Java, Python and JavaScript.

Why should we learn python? 

  • Huge community support
  • Future is AI and python is most suitable language for AI
  • Easy to learn and implement
  • General purpose programming language

Feature of Python

  • Highly extensible. (Similar to C, C++,Java etc but not in language like ABC)
  • Simple and straightforward features.
  • Multiparadigm programming language (like object oriented, functional programming etc).
  • Emphasis on code readability
  • Dynamic Typing (C, C++, Java are static typed; we define type before use and cannot be changed implicitly whereas Python/JavaScript determine type at runtime)
  • Automatic Memory Management (In c we use malloc, in C++ we use new keyword, free or delete, programmer is responsible for managing memory, in python this is done automatically)
  • Dynamic Binding (In runtime we are determining which function to be executed)
  • Precise coding (1/6 code as compared to C language)
  • For time critical module python can utilize modules written in C language: - This should be explored ***
  • Indentation based Block structure
  • Large library
  • platform independent. 

Where python can be used? 

  • Developing websites
  • Task automation
  • Data Analytics
  • Data visualization
  • AI,ML,IOT
  • Developing desktop applications
  • Python can be used in developing mobile applications, client side of AJAX based applications.
.. more ...

Learning Path

 


Comments