I've added Appendix A - Differences between Python 2 and 3 and Appendix B - Statements, Functions, and Methods Reference to the book. Quite a few people who have emailed me seem to be confused that the programs are in Python 3 (except for the Pygame programs, which are in Python 2). There aren't that many differences, and I've outlined them in Appendix A. Appendix B is a handy and quick guide to all the functions used in the book.
Posts from November 2009.
From 2008 to 2009, I wrote a book called “Invent Your Own Computer Games with Python” ( http://inventwithpython.com ) which guides young adults and complete beginners through learning how to program in the Python language. I’ve just completed the second edition of the book, which has been an exhausting amount of work. Looking back over it, I realized that it could have been a much less exhausting experience if I had made some simple preparations.
I’ve decided to write up this post on the lessons learned and the best practices for writing a technical book that aims to teach programming. This post will help me organize my thoughts so that I’m more prepared for my own future writing, but the practical tips can help others who aspire to write a book as well. More... »