Get Started Now

Moving from Python 2 to Python 3: A 4 page “cheat sheet”

Mark Summerfield wrote a four page long summary of 2.6 to 3.1 differences. There is more on this under the google group where he made the announcement I am quoting below.

Newsgroups: comp.lang.python
From: Mark Summerfield
Date: Tue, 1 Dec 2009 06:03:36 -0800 (PST)
Local: Tues, Dec 1 2009 8:03 am
Subject: Moving from Python 2 to Python 3: A 4 page “cheat sheet”
I’ve produced a 4 page document that provides a very concise summary
of Python 2<->3 differences plus the most commonly used new Python 3
features. It is aimed at existing Python 2 programmers who want to
start writing Python 3 programs and want to use Python 3 idioms rather
than those from Python 2 where the idioms differ.

It uses Python 3.1 syntax since that looks like being the standard for
a few years in view of the language moratorium.

The document is U.S. Letter size but will also print fine on A4
printers.

It is available as a free PDF download (no registration or anything)
from InformIT’s website. Here’s the direct link:

Moving from Python 2 to Python 3

And of course, if you want more on Python 3, there’s always the
documentation—or my book:-)
Programming in Python 3 (Second Edition)” ISBN-10: 0321680561

Programming in Python 3: A Complete Introduction to the Python Language (2nd Edition)

  • Share/Bookmark

Leave a Reply

 

 

 

You can use these HTML tags

<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>