What is Python?

Python is a high-level, general purpose programming language. Created by Guido van Rossum and released in 1991, Python supports multiple programming paradigms and boasts an extensive standard library that simplifies coding tasks. Its large ecosystem of third-party libraries and frameworks further enhances its capabilities, making it a top choice for web development, scientific computing, data analysis, artificial intelligence, machine learning, and automation. Python's clear syntax and strong community support contribute to its popularity among beginners and experienced developers alike.

Python's core philosophy

Python's core philosophy is summarized in the Zen of Python (PEP 20) written by Tim Peters, which includes aphorisms such as these:[64]

  • Explicit is better than implicit.
  • Simple is better than complex.
  • Readability counts.
  • Special cases aren't special enough to break the rules.
  • Although practicality beats purity.
  • Errors should never pass silently.
  • Unless explicitly silenced.
  • There should be one-- and preferably only one --obvious way to do it.

Code examples

Python
print('Hello, World!')