Dive into Python 3 with Mark Pilgrim
Dive Into Python is one of the best free books available to learn this amazing programming language called Python. The book is now also available for the all new Python 3. Titled Dive into Python 3, this book is yet another masterpiece from Mark Pilgrim who has been authoring the earlier versions of this book. This book covers all the new features that are available to Python 3.
This book outlines various differences between the methods in Python 3 and Python 2 for example
1. You should read about string formatting in Python 3 which is completely different from Python 2.
2. Python 3 has iterators at it's heart. A lot of functions that used to return lists in Python 2 now return iterators in Python 3. So you must read the second half of the Iterators chapter and the second half of the Advanced Iterators chapter.
3. XML processing just got better with Python 3 So you must read the new XML chapter in the new book. You should try to avoid the XML methods described in the previous versions of the book as the new ones are more efficient and cooler!
4. You must also go through the chapter on porting your Python 2 code to Python 3 using