ShepherdAdvisory
All courses
Foundations trackPhase 3 / 6

Foundations: Phase 3 — Code as Communication

Learn to write and read software

Your first Python programs. Variables, conditionals, loops, functions, file I/O, error handling, and working with APIs. Every concept built through hands-on exercises in Cursor.

Modules

1

What This Phase Is

The bridge from understanding to writing. Why code is communication, not just instructions.

2

Your First Python Program — Hello, World

Write, run, and understand your first program. Why Hello World matters and what it teaches.

3

Variables — Naming Things

Types, assignment, naming conventions, and why good variable names are a professional skill.

4

Conditionals — Making Decisions

If/elif/else, boolean logic, comparison operators, and building decision trees in code.

5

Loops — Doing Things Repeatedly

For loops, while loops, break/continue, nested loops, and avoiding infinite loops.

6

Functions — Reusable Building Blocks

Defining functions, parameters, return values, scope, and the single responsibility principle.

7

File I/O — Getting Data In and Out

Reading and writing files, CSV processing, JSON handling, and the with statement.

8

Reading Code — The Other Half of the Skill

How to read code you didn't write. Tracing execution, identifying patterns, and building comprehension.

9

Error Handling — When Things Go Wrong in Your Code

Try/except, raising exceptions, error types, and writing defensive code that fails gracefully.

10

Working With APIs — Talking to Other Programs

HTTP requests from Python, parsing JSON responses, API keys, and building a CLI tool that talks to a real API.

11

Phase 3 Summary — What You Can Now Do

A recap of every skill built in this phase and what they unlock in Phase 4.