You Are Here: Home » Articles » Programming » Reviews » Tech

Dive into Python 3 with Mark Pilgrim

By on September 19th, 2009 
Advertisement

dive into python 3 logoDive 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 print is now a function in Python 3. The author has some hot tips on how to use this book:

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 2to3.

Advertisement







Dive into Python 3 with Mark Pilgrim was originally published on Digitizor.com on September 19, 2009 - 12:52 am (Indian Standard Time)