mirror of
https://github.com/kennethreitz/dive-into-python3.git
synced 2026-06-05 23:10:17 +00:00
fiddling
This commit is contained in:
@@ -12,7 +12,6 @@ h3:before{content:""}
|
||||
</head>
|
||||
<form action=http://www.google.com/cse><div><input type=hidden name=cx value=014021643941856155761:l5eihuescdw><input type=hidden name=ie value=UTF-8> <input name=q size=25> <input type=submit name=sa value=Search></div></form>
|
||||
<p>You are here: <a href=index.html>Home</a> <span>‣</span> <a href=table-of-contents.html#whats-new>Dive Into Python 3</a> <span>‣</span>
|
||||
<p id=level>Difficulty level: <span title=advanced>♦♦♦♦♢</span>
|
||||
<h1>What’s New In “Dive Into Python 3”</h1>
|
||||
<blockquote class=q>
|
||||
<p><span>❝</span> Isn’t this where we came in? <span>❞</span><br>— Pink Floyd, The Wall
|
||||
@@ -20,8 +19,6 @@ h3:before{content:""}
|
||||
<p id=toc>
|
||||
<h2 id=divingin><i>a.k.a.</i> “the minus level”</h2>
|
||||
|
||||
<h3 id=divingin2><i>a.k.a.</i> I don’t want to read any more of this damn book than I absolutely have to</h3>
|
||||
|
||||
<p class=f>You read the original “<a href=http://diveintopython.org/>Dive Into Python</a>” 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 <a href=your-first-python-program.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’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’t work, <i class=baa>&</i>c.)
|
||||
|
||||
Reference in New Issue
Block a user