Monday, 24 December 2018

Python Basics

Python is an object-oriented, high level language, interpreted, dynamic and multipurpose programming language. Python is a high-level programming language, with applications in numerous areas, including web programming, scripting, scientific computing, and artificial intelligence. It is very popular and used by organizations such as Google, NASA, the CIA, and Disney.

The three major versions of Python are 1.x, 2.x and 3.x. These are subdivided into minor versions, such as 2.7 and 3.3.Code written for Python 3.x is guaranteed to work in all future versions. Both Python Version 2.x and 3.x are used currently. Python has several different implementations, written in various languages. Ex: CPython, CPython is an implementation of PythonPython Features

Easy to Use: Python is easy to very easy to use and high level language.

Expressive Language : The sense of expressive is the code is easily understandable

Interpreted Language: interpreter executes the code line by line at a time. This makes debugging easy and thus suitable for beginners.

Cross-platform: Python can run equally on different platforms such as Windows, Linux, UNIX, Macintosh etc. Thus, Python is a portable language.

Free and Open Source: Python language is freely available (python.org).

Object-Oriented language: Concept of classes and objects comes into existence.

Extensible: It implies that other languages such as C/C++ can be used to compile the code and thus it can be used further in your python code.

Large Standard Library: Python has a large and broad library.

GUI Programming: Graphical user interfaces can be developed using Python.

Integrated: It can be easily integrated with languages like C, C++, and JAVA etc.

Python ApplicationsPython as a whole can be used in any sphere of development.

Console Based Application : it can be used to develop console based applications.eg: IPython.