the beginning has changed

This commit is contained in:
Mark Pilgrim
2009-07-15 22:17:10 -04:00
parent e519c67cbc
commit 87312208a6
+1 -1
View File
@@ -21,7 +21,7 @@ h3:before{content:''}
<p id=toc>&nbsp;
<h2 id=divingin><i>a.k.a.</i> &#8220;the minus level&#8221;</h2>
<p class=f>You read the original &#8220;<a href=http://diveintopython.org/>Dive Into Python</a>&#8221; and maybe even bought it on paper. (Thanks!) You already know Python 2 pretty well. You&#8217;re ready to take the plunge into Python 3. &hellip; If all of that is true, read on. (If none of that is true, you&#8217;d be better off <a href=your-first-python-program.html>starting at the beginning</a>.)
<p class=f>You read the original &#8220;<a href=http://diveintopython.org/>Dive Into Python</a>&#8221; and maybe even bought it on paper. (Thanks!) You already know Python 2 pretty well. You&#8217;re ready to take the plunge into Python 3. &hellip; If all of that is true, read on. (If none of that is true, you&#8217;d be better off <a href=installing-python.html>starting at the beginning</a>.)
<p>Python 3 comes with a script called <code>2to3</code>. Learn it. Love it. Use it. <a href=porting-code-to-python-3-with-2to3.html>Porting Code to Python 3 with <code>2to3</code></a> is a reference of all the things that the <code>2to3</code> tool can fix automatically. Since a lot of those things are syntax changes, it&#8217;s a good starting point to learn about a lot of the syntax changes in Python 3. (<code>print</code> is now a function, <code>`x`</code> doesn&#8217;t work, <i class=baa>&amp;</i>c.)