Introduction to Python
Python is a widely used general-purpose, high-level object oriented programming language. It was developed by Guido Van Rossum in 1991. It was designed with an emphasis on code readability, and its syntax allows programmers to express their concepts in fewer lines of code. Python programming language lets you work quickly and integrate systems more efficiently.
Features of Python
Simple and easy to learn — Learning python is easy because it is easy to understand the language and thus easy to learn.
Portable (or) Cross Platform — Python is available and can run on various operating systems. This makes it a cross platform and portable language. Programmers can develop the software for several platforms by writing the program only once.
Free and Open source — Python is a free and open source programming language. It is free to read its source code and modify it.
Large Standard library — The large standard library consists of handy codes and functions which can be used while writing code in Python.
Both procedure oriented and object oriented — Python supports procedure oriented programming which is built around procedures or functions. It also supports object oriented programming which is built around objects.
Interpreted programming language — Python is an Interpreted Language because Python code is executed line by line at a time. It is easier to debug the code.
Memory Management — Python supports automatic memory management which means the memory is cleared and freed automatically. No need to assign the data type for the variable because when you assign the value to the variable, it automatically allocates the memory at runtime.
Extensible — Python is extensible, that some part of the program written in c, c++ or java can use them in your python program.
Embedded — You can embed python within your C, C++ programs.
Supports Exception Handling — Python supports exception handling which means we can write less error prone code and can test various exceptions also.
Applications
Web development — Web frameworks like Django and Flask are based on Python. They help you write server side code.
Machine learning — Many machine learning applications are written in Python. In this the machine can learn and solve a particular problem on its own. Face recognition and Voice recognition in your phone is an example of machine learning.
Data Analysis — Data analysis and data visualization in the form of charts can also be developed using Python.
Scripting — Scripting is writing small programs to automate simple tasks such as sending automated response emails etc. Such applications can also be written in Python.
Game development — You can develop games using Python.
Embedded Applications — You can develop embedded applications in Python.
Desktop applications — You can develop desktop applications in Python using libraries like TKinter or QT.