Applications of python


Main Features of Python

  • Readability
  • Built-in features
  • Availability of third party modules
  • High level built-in data structures
  • Multiparadigm
  • Extensibility
  • Open source
  • Cross platform
  • Thriving community

Readability

  • When we talk about readability, we refer as much to the original programmer as any other person interested in understanding the code.
  • It is not an uncommon occurrence for someone to write some code then return to it a month later and find it difficult to understand.
  • Sometimes Python is called a “human readable language.”

Built-in features

  • Python comes with “Batteries included.” It has a rich and versatile standard library which is immediately available, without the user having to download separate packages.
  • With Python you can, with few lines, read an XML file, extract files from a zip archive, parse and generate email messages, handle files, read data sent from a Web browser to a Web server, open a URL as if were a file, and many more possibilities.

Availability of third party modules

  • 2/3D plotting, PDF generation, bioinformatics analysis, animation, game development, interface with popular databases, and application software are only a handful of examples of modules that can be installed to extend Python functionality.

High level built-in data structures

  • Dictionaries, sets, lists, and tuples help to model real world data.

Multiparadigm

  • Python can be used as a “classic” procedural language or as “modern” object oriented programming (OOP) language.
  • Most programmers start writing code in a procedural way and when they are ready, they upgrade to OOP.
  • Python doesn’t force programmers to write OOP code when they just want to write a simple script.

Extensibility

  • If the built-in methods and available third party modules are not enough for your needs, you can easily extend Python, even in other programming languages.
  • There are some applications written mostly in Python but with a processor demanding routine in C or FORTRAN.
  • Python can also be extended by connecting it to specialized high level languages like R or MATLAB.

Open source

  • Python has a liberal open source license that makes it freely usable and distributable, even for commercial use.

Cross platform

  • A program made in Python can be run under any computer that has a Python interpreter.
  • This way a program made under Windows Vista can run unmodified in Linux.
  • Python interpreters are available for most computer and operating systems, and even some devices with embedded computers like the Nokia 6630 smartphone.

Thriving community

  • Python is gaining momentum among the scientific community. This translates into more libraries for your projects and people you can go to for support.