

0 / 2 embers
0 / 3000 xp
click for more info
Complete a lesson to start your streak
click for more info
Still calibrating
click for more info
Not enough gems
Cost: 6 gems
1: Welcome to BookBot
incomplete
2: Workspace
incomplete
3: Readme
incomplete
4: Installing Python
incomplete
This lesson's interactive features are locked, please to keep using them
This is probably your first Python project, and almost certainly your first one on Boot.dev. Nice.
We're building BookBot, a Python program that analyzes novels and reports their word and character counts. You will:
While you're learning, we recommend not using inline AI tab completion in your code editor.
Here's what you'll build (you might want to go fullscreen):
Click to play video
Our automated tests run in Linux and macOS environments. On Windows, run the Boot.dev CLI inside WSL 2, not a plain Windows terminal.
You'll use the Boot.dev CLI to test work on your machine. You'll find each lesson's CLI commands in the test panel. The CLI has two modes:
bootdev run <id> runs checks without submitting.bootdev run -s <id> submits your work and marks the lesson complete when it passes.Starting with your next CLI lesson, you can omit <id> and use bootdev run or bootdev run -s.
Use run first unless the lesson says failed submissions are safe.
bootdev --version
bootdev login
If you're stuck, ask for help in the Boot.dev Discord.
Submit the lesson from the test panel. There's no penalty on failure for this lesson.