We're sorry but this app doesn't work properly without JavaScript enabled. Please enable it to continue.

Build a BookBot in Python

Build your first local command-line app and use the real tools developers use every day.

What will you learn?

You'll build a real command-line application in Python that does data analysis on text files, or rather, entire novels like "Frankenstein," "Moby Dick," or "Pride and Prejudice." You'll be guided through the setup of a professional development environment using Python. This is the perfect first Python project for beginners.

Chapter List

1
Setup
Set up a local Python development environment
2
Data Analysis
Write Python functions that analyze a novel's text and calculate word and character counts
3
Report
Build a beautiful analytics report and add command-line tooling to make your application usable with any plain text file

Join 50,906 students in the Build a BookBot in Python course

Read reviews of their learning experiences

I cannot believe I wrote my first thing in python! I thought the lessons were helpful and intuitive. Thank you!

(4/5)
PJ Pierce profile image

PJ Pierce

United States

It was quite challenging i had to go back to those topics in python before. Well done for this section i love the hands on project.

(4/5)
Precious Robert profile image

Precious Robert

Nigeria

Less hand-holding than you might expect. There are not step-by-step instructions to set up your own code editor. Look at the solution files when you're done to see best practices for setting up a main() function - following the assignments literally and to the 'T' will not set you up for success.

(4/5)
B B profile image

B B

United States

I created a bot!

(5/5)
Flying Chungus profile image

Flying Chungus

Malaysia

It was so fun to see how we slowly moved away from the browser to creating something yourself with minimal guidance. I understood why I needed the terminal, I understood how to use the speelbook or google my questions and I completed it almost with no help from Books. Great project, gave me a lot of confidence in myself! Thanks a lot. :)

(5/5)
Siehste  profile image

Siehste

Germany

Create intro to learning a project on a personal device instead of web compiler!

(5/5)
Francisco Lasso profile image

Francisco Lasso

United States

A lot of fun! Cool way to dig into python. Get experience with a new IDE. While I might not use this proj every day, it's something I can build on the analyze text on the command line.

(5/5)
Omega Rae profile image

Omega Rae

United States

It was so entertaining and exiting.

(5/5)
Csaba Mészáros profile image

Csaba Mészáros

Hungary

Very fun and satisfying, it feels great to make something from scratch and see how the editor and the terminal interact with each other.

(5/5)
Noké  profile image

Noké

France

Showing 1-9 of 1831

or view more reviews

Mediocrity doesn't cut it anymore

The only way to become a great developer is to write a lot of code

Avoid tutorial hell

by writing a ton of code

Stay motivated with

a game-like curriculum

Build portfolio projects

to prove your skills

Delve deeper

into foundational concepts

Learn flexibly online

without interrupting your life

For 1% the price of college

to minimize your financial risk

Frequently asked Questions

Got questions? We've got answers

Yes! It's free to create an account and start learning. You'll get all the immersive and interactive features for free for a few chapters. After that, if you still haven't paid for a membership, you'll be in read-only (content only) mode.