It has been a few years since the first edition of Hetland's
introduction to Python was published. Even a casual glance shows that
this second edition differs significantly and positively from the
first edition. Aside its size (52 pages longer), the second edition
is updated for Python 2.5.1 and includes special tips on Python 3.0.
Laying the Groundwork
As with the first edition, the book itself is laid out very well. In the first nine chapters, the author gives an overview and then covers Python fundamentals in some depth. The tenth chapter introduces the reader to the Python Library. From there, the reader is taken through a series of diverse but practical tasks. These include working with files, graphic interfaces, databases, networking, and web programming. This tour is completed by discussions on application testing, extending functionality of Python programs, and how to package programs for distribution. The final chapter is one that I wish every Python book - even every book on programming - had more of: the philosophy and practice of software development. Essentially, Hetland lays the groundwork for the user to successfully plan and develop sophisticated full applications.Some Experience Under Your Belt
That philosophical groundwork is then fleshed out in leading the reader through ten programming projects. As is oft noted, one must program in order to learn to program. These tutorials hold the programmer's hand as s/he does just that. By the end of the ten chapters, one has done a bit in several different genres of Python programming. The projects include:- automated text markup
- graphics generation
- automatic website generation using XML
- a news reader using NNTP
- an IRC chat server from scratch
- remote text editor (using CGI)
- computerised bulletin board application
- command-line file sharing utility
- the same file sharing utility with a graphic interface
- a simple arcade game with PyGame



