© 2009

Dive Into Python 3

  • Authors

Table of contents

  1. Front Matter
    Pages i-l
  2. Mark Pilgrim
    Pages 1-13
  3. Mark Pilgrim
    Pages 15-42
  4. Mark Pilgrim
    Pages 43-52
  5. Mark Pilgrim
    Pages 53-67
  6. Mark Pilgrim
    Pages 69-85
  7. Mark Pilgrim
    Pages 87-100
  8. Mark Pilgrim
    Pages 101-112
  9. Mark Pilgrim
    Pages 113-130
  10. Mark Pilgrim
    Pages 131-153
  11. Mark Pilgrim
    Pages 155-166
  12. Mark Pilgrim
    Pages 167-184
  13. XML
    Mark Pilgrim
    Pages 185-204
  14. Mark Pilgrim
    Pages 205-223
  15. Mark Pilgrim
    Pages 225-252
  16. Mark Pilgrim
    Pages 253-277
  17. Mark Pilgrim
    Pages 279-293
  18. Back Matter
    Pages 295-360

About this book


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:

  • Example programs completely rewritten to illustrate powerful new concepts now available in Python 3: sets, iterators, generators, closures, comprehensions, and much more
  • A detailed case study of porting a major library from Python 2 to Python 3
  • A comprehensive appendix of all the syntactic and semantic changes in Python 3

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.


HTML Processing XML performance programming web services

About the authors

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.

Bibliographic information