tutorpackSee prices
All courses

Programming · course 12 of 105

Python Beyond the Basics

Write real Python scripts once the basics are in: read tracebacks and handle errors, work with files and JSON, sort with lambdas, and build your own classes.

4 modules

Not on sale yet. When sales open: $4.99 for this course, paid once, or every course for $9.99 a month. Prices

Preview

What it teaches

The Python you need to write real scripts once the basics are in: reading a traceback and handling errors (try / except / else / finally, raise), files and JSON (with open, "w" vs "a", why print(line) double-spaces, json.dump / json.load, what JSON changes), more functions (*args, **kwargs, spreading a list, lambda, sorted(key=...), unpacking, recursion), and classes (__init__, self, methods, shared class attributes, __str__, inheritance and super()). The AI asks 3 questions, places you, shows a short rule card per module, then gives you one piece of code at a time: say what it prints (or which error stops it), or write the code. It checks your code answers against keys produced by actually running the code.

It teaches the Python underneath (errors, files and JSON, functions, classes); it does not teach reading Excel or CSV files, or pandas.

How long

84 items in the banks. Roughly 55-85 rounds on the full path (fewer if the intake places you past a module) plus a 12-item final: 3-5 sessions (not timed with a real student). The tutor gives a one-line save code at the end of each session.

The modules

4 modules, drilled one item at a time.

  1. M1

    Errors and exceptions

    Say what the code prints or which error stops it, write the code, or answer a concept question

  2. M2

    Files and JSON

    Say what the code prints or which error stops it, write the code, or answer a concept question

  3. M3

    More functions: *args, lambda, sorting, unpacking, recursion

    Say what the code prints or which error stops it, write the code, or answer a concept question

  4. M4

    Classes and objects

    Say what the code prints or which error stops it, write the code, or answer a concept question

Before it teaches, it asks

  1. 1
    What do you want Python for next (automating something at work, data, a job, a class)? Which of these have you used: try/except, reading files, json, classes? Can you run Python on your computer right now (fine to say no)?
  2. 2
    What does this print?try:print("a")x = 1 / 0print("b")except ZeroDivisionError:print("c")print("d")
  3. 3
    What does this print?class Bag:items = [] def add(self, x):self.items.append(x) a = Bag()b = Bag()a.add("pen")print(b.items)

What’s exact, and what isn’t

Show

Straight from the course’s own notes.

Exact
Every key, Test result and trap result was produced by running the code on Python 3.14.3 and again on 3.9.6, with no difference. Each snippet runs in its own empty temp folder, so file items only see files they wrote (a probe proved it). 72 items (60 “what does it print”, 12 “write the code”) plus 12 concept questions. Every listed wrong answer differs from the key; where the code the student is picturing is given, it was run and really prints that wrong answer. A planted-error test (5 errors) was caught.
Sourced
The teach-card rules rest on the official Python Tutorial and Library Reference: short quotes, all matched on the pages on 2026-10-10. Six appear on a card; the rest back un-quoted card lines and concept answers.
Judgment
When your code isn’t one the key lists, the AI traces it on every test and shows a Check: line; it won’t mark you wrong without naming the failing test.
Not in it yet
Generators, decorators, dataclasses, modules and pip, testing, regular expressions, CSV files.