Skip to main content

Hands-on project · 2 steps

Build a stock importer and a title editor

Build two small Python components and test the cases where they could lose a user’s work.

Start with the first step and work at your own pace.

Start the path →

Enable JavaScript to mark steps complete. All lessons are available below.

Before you start

Basic Python functions and lists.

What you’ll work toward

Reject malformed stock snapshots and preserve the history of a note through undo and redo.

Your learning sequence

2 steps · Work at your own pace
  1. 3 min read

    Build a stock-count importer that can explain a bad row

    Read a quoted CSV file, validate its shape and quantities, and stop a bad batch before it replaces a stock snapshot.

    Read the guide ↗
  2. 2 min read

    Build undo and redo for a note title

    Implement a tiny title editor. Follow the history when someone undoes twice, redoes once, and starts a different edit.

    Read the guide ↗
← Explore other paths