Python

Python is a high-level, general-purpose programming language known for readable code and a huge library ecosystem. Guido van Rossum released the first version in February 1991; today the language is developed by its community and the Python Software Foundation. It is the main language of AI and data science, and it ranks first in the TIOBE popularity index. The current version is Python 3.15, released on October 9, 2026.

Key facts

Type High-level, general-purpose, dynamically typed, interpreted
Author Guido van Rossum
First release February 1991
Steward Python Software Foundation (PSF); decisions on the language are made by an elected Steering Council
Main implementation CPython (written in C)
Current version 3.15.0 (October 9, 2026)
Release cycle A new version every October; each is supported for about five years
Package index PyPI (pypi.org), installed with pip
Licence Python Software Foundation License (open source)
Website python.org

What is Python used for?

Python is used wherever a program needs to be written quickly and read easily: from short scripts to large web services and machine-learning systems.

  • Artificial intelligence and machine learning — PyTorch, TensorFlow, scikit-learn and the official SDKs for AI APIs such as the OpenAI API. Most large language models are trained and served with Python code.
  • Data analysis — pandas, NumPy, Matplotlib and Jupyter notebooks.
  • Web development — Django, FastAPI and Flask for back ends and APIs.
  • Automation and scripting — processing files, sending reports, scraping websites, DevOps tools.
  • Education — Python is often the first language taught in schools and universities because of its simple syntax.

How did Python appear?

Guido van Rossum started Python at the end of 1989 at the CWI research institute in the Netherlands as a successor to the ABC language, and published version 0.9.0 in February 1991. The name comes from the British comedy show Monty Python's Flying Circus, not from the snake.

  • 2000 — Python 2.0.
  • 2001 — the Python Software Foundation was created.
  • 2008 — on December 3, Python 3.0 was released; it was not backward compatible with Python 2.
  • 2018 — van Rossum stepped down as "Benevolent Dictator For Life"; since 2019 the language has been governed by a five-member Steering Council.
  • 2020 — on January 1, support for Python 2 ended.
  • 2024–2026 — versions 3.13, 3.14 and 3.15 added a build without the global interpreter lock (GIL) and an experimental JIT compiler.

What's new in Python 3.15?

Python 3.15 was released on October 9, 2026. The main changes, according to the official "What's new" document:

  • Lazy imports (PEP 810) — the new lazy import syntax loads a module only when it is first used, which speeds up program start-up.
  • frozendict (PEP 814) — a built-in immutable dictionary.
  • UTF-8 by default (PEP 686) — files are opened in UTF-8 unless another encoding is specified, on every operating system.
  • The profiling package (PEP 799) — profiling tools in one place, including a low-overhead sampling profiler that can attach to a running process.

The previous version, Python 3.14 (October 2025), made the free-threaded build without the GIL officially supported and added template strings (t-strings). Python 3.10 reached the end of its support in October 2026.

What does Python code look like?

Python uses indentation instead of curly braces to mark blocks of code. This example counts how many times each word appears in a text:

python
from collections import Counter

def top_words(text: str, n: int = 3) -> list[tuple[str, int]]:
    words = text.lower().split()
    return Counter(words).most_common(n)

text = "Python is easy to read and Python is easy to learn"

for word, count in top_words(text):
    print(f"{word}: {count}")

Output:

text
python: 2
is: 2
easy: 2

Type hints such as str and list[tuple[str, int]] are optional: Python does not check them at run time, but editors and tools like mypy use them to find errors.

Pros and cons of Python

Pros Cons
Simple, readable syntax that is quick to learn Slower than compiled languages such as C, Go or Rust
A huge number of libraries on PyPI for almost any task The GIL limited parallel threads for years; the build without it is still new
The standard language for AI and data science Errors in types appear only when the code runs, without extra tools
Runs on Windows, macOS and Linux Rarely used for mobile apps and browser front ends

How do you start with Python?

  1. Download Python 3.15 from python.org/downloads; on macOS and Linux it can also be installed with a package manager.
  2. Create a virtual environment for each project so that libraries do not conflict:
bash
python3 -m venv .venv
source .venv/bin/activate    # on Windows: .venv\Scripts\activate
pip install requests
  1. Work through the official tutorial at docs.python.org/3/tutorial.
  2. Choose an editor with Python support, such as VS Code or PyCharm, and pick a direction: data analysis, web development or automation.

Sources

  1. Python 3.15.0 — Python Software Foundation (accessed 1 December 2026)
  2. What's new in Python 3.15 — Python Documentation (accessed 1 December 2026)
  3. General Python FAQ — Python Documentation (accessed 1 December 2026)
  4. PEP 602 – Annual Release Cycle for Python — Python Enhancement Proposals (accessed 1 December 2026)
  5. Sunsetting Python 2 — Python Software Foundation (accessed 1 December 2026)
  6. TIOBE Index — TIOBE (accessed 1 December 2026)

Also available in: Русский · Қазақша