Python Tutorial

Python Introduction

Python is a high level general purpose open source programming language. It is both object oriented and procedural. Python is an extremely powerful language. This language is very easy to learn and is a good choice for most of the professional programmers.

Python is invented by Guido van Rossum at CWI in Netherland in 1989.

It is binding of C, C++ and Java. It also provides a library for GUI.

Python Features and Characteristics

  • Python is a high level, open source, general purpose programming language.
  • It is object oriented, procedural and functional.
  • It has library to support GUI.
  • It is extremely powerful and easy to learn.
  • It is open source, so free to available for everyone.
  • It supports on Windows, Linux and Mac OS.
  • As code is directly compiled with byte code, python is suitable for use in scripting languages.
  • Python enables us to write clear, logical applications for small and large tasks.
  • It has high level built-in data types: string, lists, dictionaries etc.
  • Python has a set of useful Libraries and Packages that minimize the use of code in our day to day life, like -
    Django, Tkinter, OpenCV, NextworkX, lxml
  • It plays well with Java because of Jython. Jython is a version of Python.
  • It encourages us to write clear and well structured code.
  • It is easy to interface with C, Objective C, Java, etc.
  • We can easily use Python with other languages. It has different varieties of languages - Like -
    • CPython - Python implemented in C.
    • Jython - Python implemented in Java Environment.
    • PyPy - Python with JIT compiler and stackless mode.
    • IronPython - Python for .Net and CLR.

Corporate users of Python

Google, Yahoo, CERN, NASA, Industrial Light & Magic.

Applications of Python

These are the different applications where we can use Python -

  • Machine Learning
  • Data Analysis
  • Web Development
  • Console based authentication
  • 3D CAD Applications