Introduction to Python

  • Python was introduced to the world in the year 1991 by Guido van Rossum.
  • Python is a dynamic, interpreted (bytecode-compiled) language.
  • It is a general-purpose programming language that can be used for both scientific and non-scientific programming.
  • It is a very simple high-level language with a vast library of add-on modules.
  • Python is a cross-platform language, which means that it can run on multiple platforms like Linux, Windows, and macOS.
  • It is free and open-source.
  • It is a high-level language.
  • Python is easy to learn.
  • Python has a clean syntax.
  • Python can be ported to the Java and .NET virtual machines.
The key differences in Python 3.x from Python 2.x
  • The print statement is changed to the print function.
  • Data type long is removed.
  • The integer division is automatically converted to the float.
  • Strings are Unicode by default in Python 3.x.
  • Classes in Python 3.x are all 'new style' classes.
  • Changes in the syntax for catching exceptions.