Skip to main content

Python guide

Welcome to the Python User Guide. This section is designed to help you build a solid understanding of Python, starting with core concepts and gradually introducing more advanced ideas.

Getting Started

New to Python? Start here! Learn how to set up Python and write your first program.

Types, variables, and conditionals

Learn about Python's fundamental building blocks: data types, variables, and how to control program flow with conditional statements.

Iterables

Explore Python's collection types and how to work with sequences of data, including lists, sets, ranges, and more.

Functions

Master function creation, parameters, and how to organize code into reusable blocks.

Object-Oriented Programming

Learn how to create classes, work with instances, and use inheritance and encapsulation to build robust programs.

Python standard library

Learn how to read from and write to files using Python.