ZetCode

Python tutorials

Python is a powerful, open-source programming language known for its simplicity, readability, and versatility. Designed with ease of use in mind, it features an intuitive syntax that makes coding accessible to both beginners and experienced developers. Python is widely adopted across various domains, including web development, data science, machine learning, artificial intelligence, automation, and scientific computing.

E-books

One of Python's greatest strengths is its extensive ecosystem, featuring a vast collection of libraries and frameworks. Tools like Django and Flask empower web developers to build robust and scalable applications, while NumPy and Pandas provide essential support for data analysis. TensorFlow and PyTorch have revolutionized artificial intelligence and deep learning, making Python a top choice in the AI industry.

Python offers strong support for asynchronous programming with features like asyncio and async/await, allowing developers to efficiently manage concurrent tasks. Additionally, Python integrates seamlessly with various technologies and platforms, making it a versatile tool for backend development, cloud computing, IoT applications, and even game development with frameworks like Pygame.

Language basics

Syntax, variables, data types, operators, flow control, and exceptions.

Keywords

Articles dedicated to individual Python keywords.

Strings and text

String creation and formatting, conversions, bytes, encodings, and regular expressions.

Lists, dictionaries, and collections

Built-in containers and the collections module: lists, dictionaries, sets, tuples, and comprehensions.

Functions, iterators, and functional programming

Functions, closures, decorators, iterators, generators, and functional tools.

Object-oriented programming

Classes, methods, special methods, metaclasses, and context managers.

Modules, packages, and environments

Organizing code into modules and packages, and managing environments.

Concurrency and asynchronous programming

Threads, processes, synchronization primitives, and asyncio.

Files and directories

Reading and writing files, file object methods, paths, and directories.

Data formats

Working with CSV, JSON, YAML, TOML, XML, Excel, and other formats, plus validation and serialization.

Date and time

Dates, times, time zones, and formatting.

Numbers, math, and statistics

Decimal arithmetic, random numbers, statistics, and symbolic math.

Security, hashing, and identifiers

Hashing, passwords, secure tokens, TLS certificates, and UUIDs.

System and command line

Interacting with the operating system, running commands, scheduling jobs, and building command line tools.

Networking and HTTP

Sockets, email, FTP, HTTP clients and servers, and web APIs.

Web development

Web frameworks and template engines.

Web scraping and browser automation

Parsing HTML and driving real browsers.

Databases

SQLite, PostgreSQL, MySQL, and MongoDB drivers and ORMs.

Testing, logging, and diagnostics

Unit testing, fake test data, logging, and performance measurement.

Data analysis and visualization

Pandas data frames, dashboards, and Matplotlib charts.

GUI and graphics

Desktop GUI toolkits and image processing.

Sorting algorithms

Classic sorting algorithms implemented in Python.

Python dunder functions

Python builtin functions

Python os API

Python time API

Python regex API

Python sqlite3 API

last modified November 18, 2026