Dive Into Python 3

Free Book: 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.


You read the original “Dive Into Python” and maybe even bought it on paper. You already know Python 2 pretty well. You’re ready to take the plunge into Python 3. If all of that is true, read on. You can read it online or download it as a zipped HTML or PDF file for free. The book is freely licensed under the Creative Commons Attribution Share-Alike license.

There are a huge number of python developers who will need to learn to port their code to python 3, and Dive Into Python 3 is the ideal hands-on introduction to the latest version of python for them. Its unique style of giving a chunk of code first and then picking it apart is ideally suited to existing developers who want to understand the new version of the language quickly.

Table of Contents

  • What’s New in “Dive Into Python 3”
  • Installing Python
  • Your First Python Program
  • Native Datatypes
  • Comprehensions
  • Strings
  • Regular Expressions
  • Closures & Generators
  • Classes & Iterators
  • Advanced Iterators
  • Unit Testing
  • Refactoring
  • Files
  • XML
  • Serializing Python Objects
  • HTTP Web Services
  • Case Study: Porting chardet to Python 3
  • Packaging Python Libraries

Book Details

Author(s): Mark Pilgrim
Format(s): PDF
File size: 2.49 MB
Number of pages: 495
Link: Read online or download.

Leave a Reply