Python
Also known as: CPython
High-level, general-purpose programming language created by Guido van Rossum, known for readable syntax and widely used in data science and AI.
Python is a high-level, general-purpose programming language that emphasizes code readability, using indentation to define blocks instead of braces. It is dynamically typed, garbage-collected and supports procedural, object-oriented and functional styles. Its large standard library and the Python Package Index, which hosts hundreds of thousands of third-party packages, let programmers assemble applications quickly. Python is usually run by an interpreter, with CPython as the reference implementation, and it is developed under the stewardship of the Python Software Foundation.
Guido van Rossum began Python in the late 1980s at the Dutch research institute CWI and released it in February 1991, naming it after the comedy troupe Monty Python. He led the language as its benevolent dictator for life until 2018, when he stepped down and an elected five-member steering council took over. Python 3, released in 2008, cleaned up the language but broke compatibility with Python 2, and the transition took more than a decade; Python 2 reached end of life in 2020.
Python became the dominant language for data science, scientific computing and machine learning, supported by libraries such as NumPy, pandas, scikit-learn and PyTorch, and by interactive notebooks such as Jupyter. It is also used for web development, automation, education and security tooling. Its main tradeoffs are slower execution than compiled languages and the global interpreter lock, which limits parallel threads; an optional build without the lock became available experimentally in 2024. Its accessibility has made it a common first language.
Key points
- Python uses indentation for code blocks and emphasizes readability.
- Guido van Rossum first released Python in 1991.
- Python 2 reached end of life in 2020 after a long transition to Python 3.
- It is the leading language for data science and machine learning work.
In their own words
...is a programming language that lets you work quickly and integrate systems more effectively.
Related entries
Guido van Rossum
Dutch programmer who created the Python programming language and guided its development for nearly three decades as its benevolent dictator for life.
Python Software Foundation
Nonprofit organization that holds the intellectual property rights to Python and supports its community, infrastructure and PyCon US conference.
Jupyter
Open-source project for interactive computing whose notebooks combine live code, results, equations and narrative text in one document.
PyTorch
Open-source machine learning framework combining GPU-accelerated tensors with automatic differentiation, widely used for deep learning research.
Interpreter
Program that executes instructions written in a programming language directly, statement by statement, without first producing a standalone executable.
Real Python
Online education platform that publishes Python tutorials, video courses, quizzes and a podcast for learners and working developers.
Package Manager
Tool that automates installing, upgrading, configuring and removing software packages and their dependencies from shared repositories.
Machine Learning
Branch of artificial intelligence in which computer systems improve at tasks by learning patterns from data rather than following explicitly programmed rules.
Featured in guides
Referenced by
Other entries that discuss or point to Python.