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

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 47 reviews)

Ratings Distribution

  • 5 Stars

     

    (42)

  • 4 Stars

     

    (4)

  • 3 Stars

     

    (1)

  • 2 Stars

     

    (0)

  • 1 Stars

     

    (0)

98%

of respondents would recommend this to a friend.

Pros

  • Well-written (40)
  • Helpful examples (39)
  • Accurate (35)
  • Easy to understand (29)
  • Concise (24)

Cons

No Cons

Best Uses

  • Intermediate (42)
  • Expert (33)
  • Student (12)
  • Novice (9)
    • Reviewer Profile:
    • Developer (31), Maker (7), Designer (5), Educator (4), Sys admin (4)

Reviewed by 47 customers

Displaying reviews 1-10

Back to top

Previous | Next »

 
5.0

Fantastic insights into Python

By Murali

from NY

Verified Buyer

Comments about oreilly Fluent Python:

A great book to be used in conjunction with a basic book to understand Python and its features.

(0 of 1 customers found this review helpful)

 
5.0

A Hands on Guide!

By Isaac Clarke

from Dhaka,Bangladesh

About Me Maker

Verified Reviewer

Pros

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

Cons

    Best Uses

    • Intermediate

    Comments about oreilly Fluent Python:

    This book is perfect who has at least working knowledge in python. It will surely help to become a good python programmer and will let anyone use pythons best feature.

    (2 of 2 customers found this review helpful)

     
    5.0

    Best Python book I've read.

    By jpw

    from Denver, CO

    About Me Developer

    Pros

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

    Cons

      Best Uses

      • Expert
      • Intermediate
      • Student

      Comments about oreilly Fluent Python:

      Very useful for someone who is already experienced with Python in gaining a much deeper understanding of the language and how to employ it more effectively. Written in a very understandable style with great structure. Favorite programming book I've encountered.

      (9 of 18 customers found this review helpful)

       
      4.0

      Length of book makes it impossible to read

      By Stephan Foley

      from New York

      Comments about oreilly Fluent Python:

      I'm giving this four stars. With that said, I read 65 pages and donated it to the library. The problem is not with the author, but with OReilly for insisting on publishing 700 page books so they can charge $50. There is way too much obvious filler...for example pages filled with lists of methods that you can easily get from the documentation. After I got to page 65 I asked myself "do I want to spend another 50 hours of my life reading this". I would like to note that none of the reviewers I've seen have actually read the entire book...they are all "just beginning it" or "part of the way through it".

      Take this book, reduce it down to 200 or so pages, charge $20 and give us something that is inspiring and useful. Don't force your authors to write 700 pages...it really shows.

      Again, nothing to do with the author. I can see a lot of thought and work went into producing this book. But, as far as 700 page OReilly books go, I haven't bought one for 5 years because I think it is dumb to publish computer books that are so long, and it looks like I won't be buying one again for a long time!

      (1 of 1 customers found this review helpful)

       
      5.0

      Extensive coverage

      By MichaelC

      from Irvine, CA

      About Me Designer, Developer

      Verified Buyer

      Pros

      • Easy to understand
      • Helpful examples
      • Well-written

      Cons

        Best Uses

        • Expert
        • Intermediate

        Comments about oreilly Fluent Python:

        Still working through it but I can already appreciate the quite extensive coverage of the language and references to various useful packages.
        Very clear language and explanations, with lots of pertinent details.
        For example, the chapter on unicode and various conversions was very useful for something I was working on recently.

        (1 of 1 customers found this review helpful)

         
        5.0

        An excellent guide for taking your skills to the next level

        By Matthew

        from Des Moines, IA

        About Me Amateur Programmer, Hobbyist

        Verified Reviewer

        Pros

        • Accurate
        • Helpful examples
        • Well-written

        Cons

          Best Uses

          • Expert
          • Intermediate

          Comments about oreilly Fluent Python:

          This is one of the best Python books that I have read. It covers many of the same topics that are covered in other python books but shows you how to REALLY use them.

          For example, you may have seen named tuples mentioned in other books, but this one will tell you why you may prefer one over a dictionary or standard tuple, as well as explaining why dictionaries have a much larger overhead. You'll also learn how they are implemented and how to use similar strategies for your own classes.

          The chapters on metaprogramming and metaclasses are particularly valuable. I have not seen any other book that gives a compelling example of why you may use a metaclass (most examples are too trivial). The examples used in this book (which solve a problem from the earlier coverage of descriptors) show a legitimate use such complex techniques.

          The chapters on concurrency have allowed me to finally start adding concurrency to my own programs.

          (1 of 1 customers found this review helpful)

           
          5.0

          Wish I Bought It Earlier

          By Ogi

          from Portland, OR

          About Me Analysit, Maker

          Verified Buyer

          Pros

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

          Cons

            Best Uses

            • Intermediate
            • Novice
            • Student

            Comments about oreilly Fluent Python:

            I'm only part-way through the book, but what I've gone through so far has been superbly written. I've long considered myself a intermediate python user that leans toward the beginner level of proficiency, so I was worried this book might be too advanced for me; but that wasn't the case. The examples, and explanations are so good, I'm definitely learning more about Python every time I read more.

            (3 of 3 customers found this review helpful)

             
            5.0

            If you really want to understand Python then read this book.

            By CW Andrews

            from Columbus, OH

            About Me Maker

            Pros

            • Accurate
            • Helpful examples
            • Well-written

            Cons

              Best Uses

              • Expert
              • Intermediate

              Comments about oreilly Fluent Python:

              This is a great book which imparts useful and immediately applicable concepts and pieces of wisdom. However, this book really shines as a deep dive into the language, how and why various things are the way they are in Python, and give one a much better handle on what is pythonic.

              Well worth multiple reads.

              (1 of 1 customers found this review helpful)

               
              5.0

              I love this book

              By Pete

              from York, UK

              About Me Bioinformatician, Developer, Educator

              Verified Buyer

              Pros

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

              Cons

                Best Uses

                • Expert
                • Intermediate

                Comments about oreilly Fluent Python:

                This is the best guide I have seen to learn how to program formally in Python. It's really good to see these topics treated properly in Python (and not have to translate Java code mentally as you read...). I teach several Python courses a year, and this is definitely something I will recommend to delegates so that they don't get into bad habits (or avoid copying my bad habits :).

                It's also essential source material for arguing with programmers who think that a "real" language has to have curly braces...

                (2 of 2 customers found this review helpful)

                 
                5.0

                Masterfully written. The BEST book about Python to date!

                By Reddy Kilowatt

                from Silicon Valley, USA

                About Me Developer

                Verified Reviewer

                Pros

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

                Cons

                  Best Uses

                  • Expert
                  • Intermediate
                  • Novice
                  • Student

                  Comments about oreilly Fluent Python:

                  I've been using Python for over 10 years. This book has taught me concepts
                  that I thought I understood.

                  This book is so well-written, it is incredible.
                  I wish Mr Ramalho would have been my instructor early on in life.
                  I'm sure I would have gotten a better education.

                  I am looking forward to more books from this author.

                  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