From e8b827f2eda6afc81286f7657bcdc46316cca9e0 Mon Sep 17 00:00:00 2001 From: Mark Pilgrim Date: Thu, 21 May 2009 21:44:11 -0400 Subject: [PATCH] fiddling --- whats-new.html | 3 --- 1 file changed, 3 deletions(-) diff --git a/whats-new.html b/whats-new.html index 4ff6463..b3c8f92 100644 --- a/whats-new.html +++ b/whats-new.html @@ -12,7 +12,6 @@ h3:before{content:""}
  

You are here: Home Dive Into Python 3 -

Difficulty level: ♦♦♦♦♢

What’s New In “Dive Into Python 3”

Isn’t this where we came in?
— Pink Floyd, The Wall @@ -20,8 +19,6 @@ h3:before{content:""}

 

a.k.a. “the minus level”

-

a.k.a. I don’t want to read any more of this damn book than I absolutely have to

-

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.)