You are here: •

# Dive Into Python 3

Dive Into Python 3 will cover Python 3 and its differences from Python 2. Compared to the original Dive Into Python, it will be about 50% revised and 50% new material. I will publish drafts online as I go. 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. Iterators
9. Advanced Iterators
10. Unit Testing
11. Test-first programming
12. Refactoring
13. Advanced Classes
14. Files
15. XML processing
16. HTML processing
17. Web services
18. Performance tuning
19. Packaging Python libraries
20. Creating graphics with the Python Imaging Library
21. Where to go from here
22. Case Study: Porting `chardet` to Python 3
23. Porting Code to Python 3 with `2to3`
24. 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