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 and variables​

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

Data Strcutures​

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

Control flow​

Learn how to control the flow of your program with loops, conditionals, and other control flow statements.

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.