21 January 2019
My book Mission Python went through extensive quality controls before publication, with each listing built and tested by both myself and the tech editor. My own testing was carried out on both the Raspberry Pi and the Windows PC.
However, I have been alerted to some errors in the book. I'll use this blog post to maintain a list of errata:
- The instructions for running Listing 4-1 say that you can run it from IDLE. This will generate an error saying that the name 'images' is not defined. To run this listing, you need to run it from the command line using pgzrun listing4-1.py. This will also apply to Listing 4-2. For instructions on using the command line to run Pygame Zero programs, please see the Running the Game section in the book's Introduction.
- On p178, when you add the code from Listing 10-6 to Listing 10-5, you should save the program as listing10-6.py and run it with pgzrun listing10-6.py. The process and program still works if you reuse the listing10-5.py filename again, but the correct process is to use listing10-6.py.
If you experience difficulties, please see also my blog post about compatibility with different software and hardware platforms to those officially supported by Mission Python.
Many thanks to Adriaan van Niekerk and Stéphanie Noardo for telling me about these issues.
If you encounter other problems, please feel free to get in touch.