Help get this topic noticed by sharing it on Twitter, Facebook, or email.

Fluent PythonClear, Concise, and Effective Programming - Does this cover Python 2 or 3 (or both) ?

Just checking to see what versions of Python this book covers? Hopefully the major focus is on Python 3
1 person has
this question
+1
Reply
  • Hi,

    The Preface of the book says:
    -----
    Who This Book Is For
    This book was written for practicing Python programmers who want to become proficient
    in Python 3. If you know Python 2 but are willing to migrate to Python 3.4 or
    later, you should be fine. At this writing the majority of professional Python programmers
    are using Python 2, so I took special care to highlight Python 3 features that may
    be new to that audience.

    However, Fluent Python is about making the most of Python 3.4, and I do not spell out
    the fixes needed to make the code work in earlier versions. Most examples should run
    in Python 2.7 with little or no changes, but in some cases backporting would require
    significant rewriting.

    Having said that, I believe this book may be useful even if you must stick with Python
    2.7, because the core concepts are still the same. Python 3 is not a new language, and
    most differences can be learned in an afternoon. What’s New In Python 3.0 is a good
    starting point. Of course, there have been changes after Python 3.0 was released in 2009,
    but none as important as those in 3.0.

    -----

    I hope that helps,
    Chris Olson
    O'Reilly Book Support
  • (some HTML allowed)
    How does this make you feel?
    Add Image
    I'm

    e.g. indifferent, undecided, unconcerned kidding, amused, unsure, silly sad, anxious, confused, frustrated happy, confident, thankful, excited