You are here: •

# Dive Into Python 3

Dive Into Python 3 covers Python 3 and its differences from Python 2. Compared to Dive Into Python, it’s about 20% revised and 80% new material. I am publishing drafts online as I go. Please send feedback. The final version will be published on paper by Apress. The book will remain online under the CC-BY-SA-3.0 license.

You can see the full table of contents (not finalized), or read what I’ve written so far:

1. What’s New in “Dive Into Python 3”
2. Installing Python
3. Your First Python Program
4. Native Datatypes
5. Strings
6. Regular Expressions
7. Generators
8. Classes & Iterators
9. Advanced Iterators
10. Unit Testing
11. Advanced Unit Testing
12. Refactoring
13. Advanced Classes
14. Files
15. XML
16. Serializing Python Objects
17. HTTP Web Services
18. Threading & Multiprocessing
19. Packaging Python libraries
20. Case Study: Porting `chardet` to Python 3
21. Where to go from here
22. Porting Code to Python 3 with `2to3`
23. Special Method Names

There is a changelog, a feed, and discussion on Reddit. During development, you can download the book by cloning the Mercurial repository:

    you@localhost:~$ hg clone http://hg.diveintopython3.org/ diveintopython3

The final version will be downloadable as HTML and PDF.

This site is optimized for Lynx just because fuck you.
I’m told it also looks good in graphical browsers.

© 2001–9 Mark Pilgrim