Mark Pilgrim's Dive Into Python 3 is a hands-on guide to Python 3 and its differences from Python 2. As in the original book, Dive Into Python, each chapter starts with a real, complete code sample, proceeds to pick it apart and explain the pieces, and then puts it all back together in a summary at the end.
This book includes:
This is the perfect resource for you if you need to port applications to Python 3, or if you like to jump into languages fast and get going right away.
By day, Mark Pilgrim is a developer advocate for open source and open standards. By night, he is a husband and father who lives in North Carolina with his wife, his two sons, and his big slobbery dog. He spends his copious free time sunbathing, skydiving, and making up autobiographical information.
0) Installing Python 1) Your First Python Program 2) Native Python Datatypes 3) Strings 4) Regular Expressions 5) The Power of Introspection 6) Objects and Object-Orientation 7) Unit Testing 8) Test First Programming 9) Refactoring Your Code 10) Files 11) HTML Processing 12) XML Processing 13) HTTP Web Services 14) Dynamic Functions 15) Metaclasses 16) Performance Tuning 17) Packaging Python Libraries 18) Creating Graphics with the Python Imaging Library 19) Where To Go From Here 20) Case Study - Porting to Python 3 Appendix A) - Porting to Python 3