Early previewThis guide is in development. Items tagged verify are still being checked against official docs.
nebx Learn
GitHub
Menu
Py

Python

Readable, batteries-included, and the default language of AI.

Paradigm
Multi-paradigm, OOP, functional
Typing
Dynamic, strong, optional type hints
Memory
Reference counting + cycle GC
Runs
CPython bytecode interpreter
Concurrency
asyncio, threads (GIL), multiprocessing

Python overview

Readable, batteries-included, and the default language of AI. Every language page follows the same structure, so you can jump between languages and compare.

Hello world

hello.py
print("Hello, patterns!")

Source repository

The SOLID single-responsibility example in this guide comes from gelnomo/training-algorithms-python (SOLID/SingleResponsiblityPrinciple.py). The other sections were written for nebx Learn.

Saved in this browser only. Part of Clean code foundations (0/5).