Python Tutorial

Learn core Python with short explanations and copy-paste examples—organized like a classic tutorial site.

Python is a popular programming language. It is used for web development, automation, data work, scripting, and much more. This documentation covers the core language: syntax, types, collections, control flow, functions, classes, modules, errors, and files.

Start learning Python →

Tutorial sections

Hello, World!

Example
print("Hello, World!")
Open any topic from the left sidebar. Use Previous / Next at the bottom of each page to follow the syllabus in order.