CDEBUGGING YOUR LISTINGS

image

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 the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.