Basics of Python


Python is a general purpose programming language and it is also an open source like PHP and PERL. Python is available under the license GNU General Public License (GPL). Python is easy to learn.

Python is an interpreted programming language. Python is an object oriented programming language.

Python is a good language for the beginner-level programmers because Python has less syntax compared to any other language.

To learn Python programming language, you should have a basic understanding of programming and if you have the knowledge of other programming language, it is a plus point for you.

History of Python

Python was designed by Guido Rossum in late eighties at “National Research Institute for Mathematics and Computer Science, located in Netherland.

Python is a successor of ABC programming language or we can say Python is derived from many other programming language like ABC, C ,C++ , Unix Shell and other Scripting language.

Python also possess copyright like PERL and other programming languages. Python source code is available under GNU general Public Licence (GPL).

Introduction to Python

In the section, given above, we learnt history and some basics of Python. Now, we will learn Python in deep.

Let’s start.

Python is a strong high level programming language, which is widely used for developing Window and Web Application. Python is an interpreted programming language i.e Python does not have a compiler or Python program does not compile its run directly by an interpreter.

Some basic characteristics of Python programming language are listed below. 
  • Python is a strong high level language
  • Python is interpreted
  • Python is reflective
  • It is a dynamical type
  • It is an open source
  • It is a multi paradigm
Features of Python are given below.
  • Easy to learn
    Python is very easy to learn because Python has a simple structure, clear defined syntax.
  • Easy to read
    Python code is a simple structure, which helps fully to read a Python program.
  • Easy to maintain
    Python program is very easy to maintain just like a cup of cake.
  • Broad standard library
    Python has a broad standard library, which is having a pre defined function. Some Python library comprises of math, sys and tkinter etc.
  • Interactive Mode of Programming
    Interactive mode of programming is just like a prompt. This is used to debug and test a code.
  • Portable
    Python is platform independent, which means Python source code is written in one and run on the other platform.
  • Extendable
    Python is extendable programming language, which means you can add low level modules in Python very easily. 
  • GUI programming
    In Python, we can develop a Windows Application, using GUI (Graphical User Interface) very easily. 
  • Database Connectivity
    Python allows to connect with the major database like MySQL, Oracle and Microsoft MySQL Server etc.
Python also has some other features, which are as follows
  • Python has an automatic garbage collection. 
  • Python supports procedures and OOPS.
  • Python is easy to integrate with other language like C, C++ and JAVA etc. 

In this article, you learnt Python programming language and now you are ready to learn more features of Python in the next Chapter.
Next » Environment Setup