Python is a general-purpose interpreted, interactive and object-oriented programing language. During 1950-55, Python is created by Guido van Rossum & source code is also available under the General Public License (GPL).
Python 1.0 was released in November 1994.
Python 2.0 was released in the year 2000.
Python 3.0 was released in 2008.
Python 3 is not backwards compatible with Python 2. The emphasis in Python 3 had been on the removal of duplicate programming constructs and modules so that “There should be one — and preferably only one — obvious way to do it.” Python 3.5.1 is the latest version of Python 3.
Why learn Python?
- Beginner’s Language – It is a great language and supports the development of a wide range of applications from simple text processing to WWW browser and games. You can use it as a Content management system like WordPress alternative or apply for Data Science.
- Python is Interpreted − It can be processed at runtime by Interpreter implies you do not need to compile your program before executing it.
- Python is Interactive − You can sit at a Python prompt and interact with the interpreter directly to write your programs.
- Python supports Object-Oriented − The concept of OOP in Python focuses on creating reusable code. This concept is also known as DRY (Don’t Repeat Yourself).
- In Python, the concept of OOP follows some basic principles:
- Inheritance A process of using details from a new class without modifying existing class.
- Encapsulation Hiding the private details of a class from other objects.
- Polymorphism A concept of using standard operation in different ways for different data input.
Features of Python programming language
- Reliable and efficient – You can put Python to use across several domains – web development, desktop applications, mobile applications, hardware and more.
- Easy to Learn syntax – Few keywords, Simple structure and clearly defined language.
- Easy to Read – Python code is clearly defined, and you can easily read and understand.
- Relatively easy to maintain.
- Library – It’s library is very portable, works well with Unix Windows and Mac.
- Interactive Mode – Allows interactive testing and debugging snippets of code.
- Portable – You can run it on a variety of devices across all platforms with the same interface.
- Extendable – You can add low-level modules to Python. It allows you to add or customize your tool to be more efficient.
- Databases – Works well with all commercial DB types.
- Scalable – Support for large programs and not just meant for shell scripting.
- It can be easily integrated with C, C++, Corba, Java. Supports Automatic Garbage collection.
Why Python became so popular?
- Healthy Active and supportive community – Python has an excellent active, supportive community which means you will not face issues like lack of documentation and developer support. You will always have somewhere someone to find support.
- Python Is Accessible – It is the most accessible programming languages available. You can write python code and execute it much faster.
- Corporate Sponsors – Google adopted Python heavily back in 2006, and they’ve used it for many platforms and applications since.
- Big Data – Python, is used to analyze and organize it into usable data. It’s a second most popular language, second only to R.
- Amazing Library – Library can help you save time and cut on initial development life cycle — Django for web development, NumPy and SciPy for scientific computing.