Some of the listings in this book might not work for you the first time. Don’t be put off! This is normal when programming, even for experienced coders. It’s easy to overlook details that will make a huge difference to the program. Fixing errors in a program is called debugging.

To minimize problems, I’ve kept the listings as short as possible, so if something doesn’t work in a listing, you won’t have to check many instructions. I’ve also included warnings in the text when there’s anything particularly tricky that you should look out for.

Remember that if you can’t work out how to fix a program, you can use my version ...

Get Mission Python now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.