Setup & Fundamentals
This section covers everything you need to start writing Python code.
Topics
| Page | What You Will Learn |
|---|---|
| Environment Setup | Install Python, set up uv, create a project, manage dependencies |
| Data Types & Variables | Numbers, strings, booleans, None, dynamic typing, type hints |
| Control Flow & Loops | if/elif/else, for, while, break, continue, pass |
| Data Structures | Lists, tuples, sets, dictionaries — when and how to use each |
| Functions & Modules | Define functions, use arguments, organize code into modules |
Key Points
- Always use a virtual environment for every project
- Use
uvas a modern, fast Python package manager - Follow PEP 8 naming conventions from the start
- Add type hints to make your code easier to read