Fluent Python
Clear, Concise, and Effective Programming
Publisher: O'Reilly Media
Final Release Date: July 2015
Pages: 770

Python’s simplicity lets you become productive quickly, but this often means you aren’t using everything it has to offer. With this hands-on guide, you’ll learn how to write effective, idiomatic Python code by leveraging its best—and possibly most neglected—features. Author Luciano Ramalho takes you through Python’s core language features and libraries, and shows you how to make your code shorter, faster, and more readable at the same time.

Many experienced programmers try to bend Python to fit patterns they learned from other languages, and never discover Python features outside of their experience. With this book, those Python programmers will thoroughly learn how to become proficient in Python 3.

This book covers:

  • Python data model: understand how special methods are the key to the consistent behavior of objects
  • Data structures: take full advantage of built-in types, and understand the text vs bytes duality in the Unicode age
  • Functions as objects: view Python functions as first-class objects, and understand how this affects popular design patterns
  • Object-oriented idioms: build classes by learning about references, mutability, interfaces, operator overloading, and multiple inheritance
  • Control flow: leverage context managers, generators, coroutines, and concurrency with the concurrent.futures and asyncio packages
  • Metaprogramming: understand how properties, attribute descriptors, class decorators, and metaclasses work
Table of Contents
Product Details
About the Author
Colophon
Recommended for You
Customer Reviews

REVIEW SNAPSHOT®

by PowerReviews
oreillyFluent Python
 
4.9

(based on 29 reviews)

Ratings Distribution

  • 5 Stars

     

    (26)

  • 4 Stars

     

    (3)

  • 3 Stars

     

    (0)

  • 2 Stars

     

    (0)

  • 1 Stars

     

    (0)

100%

of respondents would recommend this to a friend.

Pros

  • Helpful examples (26)
  • Well-written (24)
  • Accurate (23)
  • Easy to understand (19)
  • Concise (16)

Cons

No Cons

Best Uses

  • Intermediate (27)
  • Expert (19)
  • Student (7)
  • Novice (5)
    • Reviewer Profile:
    • Developer (23), Designer (3), Maker (3), Sys admin (3)

Reviewed by 29 customers

Sort by

Displaying reviews 1-10

Back to top

Previous | Next »

(1 of 1 customers found this review helpful)

 
5.0

Great throughout, but especially great on async programming

By Dan

from New Zealand

About Me Developer

Verified Reviewer

Pros

  • Fun
  • Helpful examples
  • Insightful
  • Well-written

Cons

    Best Uses

    • Expert
    • Intermediate
    • Student

    Comments about oreilly Fluent Python:

    The book is great fun and very readable the whole way through. Where it really shines though, is in the chapters on coroutines, concurrency and the new asyncio library. These are difficult concepts but author Luciano Ramalho does an excellent job of explaining them.

    I really liked the consistent structure of the book: the annotated code examples, the 'further reading' sections, the often-fascinating 'soapbox' sections.

    I bought this book expecting to browse a few chapters but it's so good that I couldn't help myself - I read it cover-to-cover.

     
    5.0

    Python makes so much more sense now

    By Matthew the Data Designer

    from South Dakota

    About Me Developer

    Verified Buyer

    Pros

    • Helpful examples
    • Well-written

    Cons

    • Skim-worthy Sections

    Best Uses

    • Intermediate

    Comments about oreilly Fluent Python:

    I began reading this book to help me understand how to utilize the core features of Python more effectively. My mind has been opened to "The Pythonic" way of solving problems and I've gained a greater appreciation for the way the language is structured, which I have begun applying to my own projects.

     
    5.0

    Refreshingly insightful

    By 2achary

    from Nashville TN

    About Me Python Developer

    Verified Buyer

    Pros

    • Accurate
    • Concise
    • Easy to understand
    • Helpful examples
    • Well-written

    Cons

      Best Uses

      • Expert
      • Intermediate

      Comments about oreilly Fluent Python:

      From the first chapter, this book inspired the hell out of me. It makes me want to go write a new Python program just to try out some of these and advanced and often overlooked techniques. Although this is written with Python 3 examples, I mean, let's get real, eventually Python 2 will be deprecated. I've gotten all the examples to work in 2.7 so far. I'm a Python developer professionally, and reading all the fresh examples and well laid out chapters, really helps keep me engaged and obsessed with Python. Definitely an intermediate/advanced book, which is much needed in the midst of so many beginner releases.

       
      5.0

      This will be a classic Python book!

      By bobby

      from California

      About Me Sre, Sys Admin

      Verified Buyer

      Pros

      • Accurate
      • Concise
      • Easy to understand
      • Helpful examples
      • Pythonic
      • Well-written

      Cons

        Best Uses

        • Expert
        • Intermediate
        • Novice
        • Step Up Your Game

        Comments about oreilly Fluent Python:

        Each chapter is a well written tour of the language. This book is perfect for someone who wants to write better Python, or is looking for a pythonic way to solve a problem.

        One of the differences from other classics like Python Cookbook is that this is more language focused, where as Python Cookbook is problem/solution focused. I would encourage all Python developers from all levels to read this book.

        (1 of 4 customers found this review helpful)

         
        4.0

        great book

        By Kristin D.

        from Oslo, Norway

        Verified Reviewer

        Pros

        • Accurate
        • Concise
        • Easy to understand

        Cons

        • Not comprehensive enough

        Best Uses

        • Intermediate
        • Student

        Comments about oreilly Fluent Python:

        I've now been reading this book for a month and I have to say, it is spot on. All example codes work without a problem. I have been developing in Python for quite a few years now but needed a bit of a boost in my knowledge.

        At the moment I'm at "Protocols and Duck Typing" (a bit of a slow reader) so I'll update my review when I'm maybe a bit more into the book.

        The pros for me are obvious: clear and concise code, easy to understand, and ability to teach without having to use too many jargons :-)

        The cons are that sometimes it takes me at least too long to read a section

        (1 of 1 customers found this review helpful)

         
        5.0

        Great book

        By outcoldman

        from Seattle, WA

        About Me Developer

        Verified Reviewer

        Pros

        • Accurate
        • Concise
        • Easy to understand
        • Helpful examples
        • Well-written

        Cons

          Best Uses

          • Expert
          • Intermediate

          Comments about oreilly Fluent Python:

          - Very well explained
          - A lot of links to external resources if you want to learn about some topics more.

          (1 of 1 customers found this review helpful)

           
          5.0

          Clear, precise, detailed, beautiful

          By John the Orbit Guy

          from El Segundo, CA

          About Me Designer, Developer

          Verified Buyer

          Pros

          • Accurate
          • Concise
          • Detailed
          • Easy to understand
          • Helpful examples
          • Well-written

          Cons

            Best Uses

            • Expert
            • Intermediate

            Comments about oreilly Fluent Python:

            I'm really still becoming proficient in Python, and find this book superb in its detailed, line-by-line annotated examples. Fluent Python is a gem!

            (3 of 3 customers found this review helpful)

             
            5.0

            This is the Python book I've been waiting for

            By Dylan Mc

            from Portland, Oregon

            About Me Developer, Educator, Maker

            Verified Reviewer

            Pros

            • Accurate
            • Concise
            • Easy to understand
            • Helpful examples
            • Well-written

            Cons

              Best Uses

              • Expert
              • Intermediate

              Comments about oreilly Fluent Python:

              The Python books I've encountered so far have either been reference books for experienced Python programmers, or introduction to programming using Python. What I've been looking for is a book that explains "the Python way" of programming to experienced programmers. I've only dipped my toes in to this book, but already I can tell it's exactly what I've been looking for.

              As an example, I love the way the book starts out both explaining the Pythonista name for, and best way to use Python's special methods, also known as dunder methods. When I was trying to learn how best to use them via Google or the Python reference books I owned, I had a really hard time. Here, in Chapter One, they're named, motivated, and enumerated. I was impressed.

              In general, I think more languages could use a book that could be summarized as "here's how to write programs in language < foo>, guided by someone with good taste in that language." I look forward to having more excuses to dive into the chapters of this book.

              (0 of 1 customers found this review helpful)

               
              4.0

              Good coverage of Python

              By DanD

              from San Jose, CA

              About Me Developer

              Verified Buyer

              Pros

              • Easy to understand

              Cons

                Best Uses

                • Novice

                Comments about oreilly Fluent Python:

                A good book on the ins and outs of Python. Someone like me, with little or no python experience is able to grasp the content fairly quickly and easily. recommended.

                (1 of 1 customers found this review helpful)

                 
                5.0

                A "must read" for serious Python programmers

                By philipp

                from Austria

                About Me Designer, Developer

                Verified Reviewer

                Pros

                • Accurate
                • Helpful examples
                • Well-written

                Cons

                  Best Uses

                  • Expert

                  Comments about oreilly Fluent Python:

                  I thought I knew Python very well. Then I read this book. Now I know I didn't. The author has enormous knowledge not only of Python, but also of programing languages, design patterns and algorithms in general and understands it very well to guide through important aspects of Python in an exciting, humorous and still concise way. My future Python programs will be shorter, easier to use, easier to read, faster running and much more fun to write.
                  Thank you, Luciano Ramalho!

                  Displaying reviews 1-10

                  Back to top

                  Previous | Next »

                   
                  Buy 2 Get 1 Free Free Shipping Guarantee
                  Buying Options
                  Immediate Access - Go Digital what's this?
                  Ebook:  $42.99
                  Formats:  DAISY, ePub, Mobi, PDF
                  Print & Ebook:  $54.99
                  Print:  $49.99