Python Setup
Data Types and Variables
Control Flow
Functions and Modules
Type Hinting
CLI Habits
Errors and Debugging
Logging in Python
File Operations
[Cloud] Azure Setup
Gotchas & Pitfalls
Practice
Assignment
Back to Track
Week 1 - Python Foundations
Welcome to the Data Track! This first week lays the foundation for building reliable data pipelines with Python. You'll learn how to write well-structured Python code with proper typing, handle errors gracefully, implement logging for observability, and work with common data formats like CSV and JSON.
By the end of this week, you'll have built your first mini data pipeline that reads a CSV file and outputs clean JSON data - the fundamental pattern you'll use throughout the track.
Learning goals
- Set up a Python 3.11 development environment with virtual environments and VS Code
- Write functions with type hints and organize code into reusable modules
- Run Python scripts from the command line with arguments
- Read and understand Python error messages and stack traces
- Use the
logging module to add observability to your scripts
- Read CSV files and write JSON output using Python's standard library
- Use an LLM to help debug Python errors
- Log into your Azure account and understand which services you'll use later
First lesson: Python Setup

*https://hackyourfuture.net/*
Found a mistake or have a suggestion? Let us know in the feedback form.