From 87312208a6f9eb14a11bf721bc555015f52ec3f5 Mon Sep 17 00:00:00 2001 From: Mark Pilgrim Date: Wed, 15 Jul 2009 22:17:10 -0400 Subject: [PATCH] the beginning has changed --- whats-new.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/whats-new.html b/whats-new.html index 2411489..49ec9ab 100644 --- a/whats-new.html +++ b/whats-new.html @@ -21,7 +21,7 @@ h3:before{content:''}

 

a.k.a. “the minus level”

-

You read the original “Dive Into Python” and maybe even bought it on paper. (Thanks!) 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. (If none of that is true, you’d be better off starting at the beginning.) +

You read the original “Dive Into Python” and maybe even bought it on paper. (Thanks!) 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. (If none of that is true, you’d be better off starting at the beginning.)

Python 3 comes with a script called 2to3. Learn it. Love it. Use it. Porting Code to Python 3 with 2to3 is a reference of all the things that the 2to3 tool can fix automatically. Since a lot of those things are syntax changes, it’s a good starting point to learn about a lot of the syntax changes in Python 3. (print is now a function, `x` doesn’t work, &c.)