::: title

PY01 Python Journey

How did we get here ::: César Freire

::: image
Gemini_Generated_Image_448b0t448b0t448b.jpeg
:::


Let us start!

slide 1/87


::: title
The Zen of Python, by Tim Peters (1999)
:::

  1. Beautiful is better than ugly.
  2. Explicit is better than implicit.
  3. Simple is better than complex.
  4. Complex is better than complicated.

(…)

::: image
tim-peters.png
:::


Hello World!

Python ranking on the world

—

What is a programming language ?

turing-machine.png

—

::: title

Alan Turing (1912-1954)

:::

  • Conditional branching (if, while, goto)
  • Arbitrary memory manipulation (variables)
  • Looping/recursion
    ::: image
    alan_turing.png
    :::

—

Tiobe index calculation

Requirements

  • The language should have an own entry on Wikipedia
  • The programming language should be Turing complete
  • The programming language should have at least 5,000 hits

—

Tiobe index (2026)

img/img-202604202204.png
https://www.tiobe.com/tiobe-index/

—

Python evolution (tiobe)

img-202604202204a.png
https://www.tiobe.com/tiobe-index/python/

—

StackOverflow Survey

img-202604202204c.png
https://survey.stackoverflow.co/2025/technology#most-popular-technologies-language-language

—

GitHub Octoverse Survey

img-202604202204d.png
https://octoverse.github.com/2022/top-programming-languages


::: title

Guido van Rossum

:::

  • Now with 71 years, retired from Microsoft
  • Python creator in 1999
  • BDFL of Python Language until 2018 (PEP572)
  • Microsoft Distinguished Engineer since 2018
  • Leader of Faster CPython Team at Microsoft
    ::: image
    guido-van-rossum.png
    :::

—

Status of Python versions

img/img-202604202304.png

—

What’s New

  • 3.11 - Python 3.11 is between 10-60% faster than Python 3.10.
  • 3.12 - The language changes focus on usability, as f-strings have had many limitations removed
  • 3.13 - Improved error messages
  • 3.14 - Free-thread mode --disable-gil option
  • 3.15 - Deferred annotations by default (PEP 649), improved error messages, faster CPython interpreter, t-strings template strings refinements

https://docs.python.org/3/whatsnew/

—

Python Enhancement Proposals (PEPs)

https://peps.python.org/

img-202604202304a.png


Tech jobs (abr/26)

https://www.itjobs.pt/emprego?q=python

img-202604202304c.png

—

Open Tech Jobs

img-202604202304e.png

—

Layoffs

img-202604202304d.png


Python ecosystem

python-ecosystem.png


Interesting Python projects

  • Rich - beautiful terminal output, tables, progress bars
  • Textual - TUI (text user interface) framework
  • FastAPI - modern, fast web framework for APIs
  • Polars - blazing fast DataFrame library (pandas alternative)
  • Pydantic - data validation using type hints
  • Poetry - dependency management and packaging
  • Ruff - extremely fast linter + formatter (Rust)
  • UV - ultra-fast package manager (pip replacement, Rust)

—

Python for AI

  • Machine Learning & Deep Learning — TensorFlow, PyTorch, scikit-learn
  • LLMs & NLP — transformers, LangChain, OpenAI/Anthropic SDKs
  • Data science — pandas, NumPy, Polars, Matplotlib
  • Notebooks & prototyping — Jupyter, Colab
  • Rich ecosystem of AI libraries and active community

—

Python for quantum computing

  • Quantum frameworks — Qiskit, Cirq, PennyLane, Braket
  • Simulators & hardware backends — local simulators, IBM Quantum, AWS, Azure Quantum
  • Algorithm libraries — Qiskit Nature, TensorFlow Quantum, OpenQASM
  • Research & prototyping — Jupyter notebooks, QuTiP
  • Growing ecosystem with strong industry and academic support

Jupyter Project

img-202604202304b.png