So... let me get this straight: I have to type in all the code?
We really think there's a lot of benefit to be had from actually typing in the code and getting it to run. If you really don't want to type in the code yourself, check out the book's support page at Head First Labs, where the code can be downloaded on a chapter-by-chapter, page-by-page basis.
That said, we do have the stuff referred to in the book - the data files, folder structures, modules, CSS, and so on. Simply right-click on these links to save any resource to your computer:
- Chapter 3 & 4: Here is the sketch.txt data file.
- Chapter 5: Coach Kelly's data: the athlete timing data in TXT files.
- Chapter 6: The updated TXT files from Coach Kelly.
- Chapter 7: Here is the code for the yate.py module and the template files. You can also download the webapps folder structure (which includes the index.html, CSS and other support files).
- Chapter 8: Yet another update from Coach Kelly - his updated athlete data in TXT files. These data files are also used in Chapter 9.
- Chapter 10: The GAE-compatible templates. The HTML stylesheets ("borrowed" - without shame - from the good folks who brought the world this excellent introduction to HTML).
- Chapter 11: The CSV-formatted pace data file, the find_it.py module and the tm2secs2tm.py module.