How This Course Works
How Python in Depth works on ask-codey.com, from reading a lesson and trying its Do It to exercises checked by pytest, chapter checks, module assessments and the projects you build.
Novice · Python · Updated
After this lesson you can
- Describe how Python in Depth's lessons, Do Its, Check yourself blocks, exercises, chapter checks, module assessments and projects fit together
Key takeaways
- The course has six modules. Modules 1 to 5 each end with a mini-capstone, a project of its own, and every module has an assessment that passes at 80%, with three tries a day.
- Skills are short "you can do this" statements. They are what the questions test and what your progress counts.
- A wrong answer in Check yourself is useful news, not a failure. Read the explanation, look back at the lesson, and carry on.
- An exercise comes with tests, programs that check your code. pytest runs them, and the exercise is done when every test passes and you've handed it in.
- Covered counts the lessons you've finished. Mastered counts the skills you've shown you know, with three clean answers to questions that come at each skill from at least two different angles.
This course is self-study: you go at your own pace, and the course itself tells you how you're doing. Here is what it's made of, and how to get the most from each part.
The shape of the course
| Part | What it is |
|---|---|
| Module | A big stage of the course. There are six. |
| Chapter | One subject, such as Getting Started with Python or Functions |
| Topic | A group of lessons inside a chapter |
| Lesson | One idea, explained with small examples you can run |
The six modules, and the project each one ends with:
| Module | What you learn | The project |
|---|---|---|
| 1. Python Basics | Running programs, values, input, decisions and loops | Terminal Quiz Game |
| 2. Functions and Data | Functions, lists, tuples, dictionaries and sets, and reshaping data | Grade Book |
| 3. Building Real Programs | Modules, errors and the debugger, files, and classes | Contact Manager |
| 4. Testing and Quality | Tests with pytest, type hints, and tools that keep code tidy | Library Fines Calculator |
| 5. Automation | Sorting files, scripts that run on a schedule, and live data from a web API | The Garden Club's Weekly Report |
| 6. Where Python Goes Next | A first taste of data analysis, machine learning and web APIs | Your own Python tool, the final capstone |
Each lesson has a level from 1 to 4: level 1 meets an idea for the first time, and higher levels go deeper.
Skills, Do Its and Check yourself
Most lessons start by listing their skills: short "you can do this" statements, such as Write and run a Python file that prints lines with print(). Skills are what the questions test, and what your progress counts.
Many lessons have a Do it: a small task in the lesson's own example, solved in a box right on the page, with tests that tick as your code works. Python runs in your browser for it, so there's nothing to set up. Lessons whose point happens on your own computer, such as installing tools, have no Do it: their chapter's exercise is where you practice.
Near the end of a lesson, a Check yourself block asks one to three short questions about what you just read, then shows you the answer and why. A wrong answer is useful news, not a failure. Read the explanation, look back at the lesson, and carry on.
Exercises
Lessons whose titles start with Exercise: give you a small project to finish: starter code in a repository on GitHub, and tests, small programs that check your code for you. You copy the starter to your computer with Git, open it in VS Code, and run the tests in its terminal:
pytest
pytest is a test runner, the tool Python programmers use to check their code: it finds the test files in the folder, runs them, and lists which tests pass and which fail. At first they fail, and that's expected: each part you finish turns its test green. Each exercise's README shows how to install pytest for it.
When every test passes, you hand the exercise in: you push your work to a repository of your own on GitHub and submit its address on the lesson page. That's what completes an exercise lesson. Get the Exercise Code with Git and Hand In Your Work with Git show each step.
Checks, assessments and projects
- A chapter check is a short quiz on the chapter's skills, with a few questions from the chapter before to keep them fresh. Take it whenever you like, as often as you like: it's practice, and it tells you what to review.
- A module assessment ends each module. 80% passes. You get three tries a day, then a 24-hour rest before the next three. Every attempt draws different questions, so a retake is a fair new try, not a memory test.
- A mini-capstone ends each of Modules 1 to 5: a project you build with everything the module taught, such as the Terminal Quiz Game. It comes with a brief, starter files, milestones that break it into steps, and a short checklist, called a rubric, that you score your own work against. None needs another one finished first.
- The final capstone is the course's final assessment, and there's no big final test. You design a Python tool of your own, with tests and a README that explains how to use it.
Covered, Mastered, and who gets what
When you're signed in, the course keeps two separate records of your progress:
- Covered: the lessons you've finished.
- Mastered: the skills you've shown you know. A skill is mastered when you answer three different questions about it cleanly, meaning right the first time and without a hint, from at least two different angles: one might ask what a program prints, another which line to fix. A later miss drops it back, so mastery stays honest.
Everyone can read every lesson and answer its questions. Signed in, your answers count toward your skills, and you can tick lessons as done. With Premium, or if you own this course, you also get course progress on every page, the chapter checks, the module assessments, and the Certificate of Completion: every lesson covered and every module assessment passed.
A good rhythm: read a lesson and run its examples, try its Do it, answer Check yourself, do the chapter's exercise, take the chapter check, and when a module's skills are mastered, take its assessment and build its project.
Check yourself
1 question to try on the lesson page.
So what
The course is built so you always know where you stand: what you've read, what you've mastered, what to practice next, and what you've built.