Fluent Python
Clear, Concise, and Effective Programming
Publisher: O'Reilly Media
Final Release Date: October 2014
Pages: 754

With Early Release ebooks, you get books in their earliest form—the author's raw and unedited content as he or she writes—so you can take advantage of these technologies long before the official release of these titles. You'll also receive updates when significant changes are made, new chapters are available, and the final ebook bundle is released.

Learn how to write idiomatic, effective Python code by leveraging its best features. Python's simplicity quickly lets you become productive with it, but this often means you aren’t using everything the language has to offer. By taking you through Python’s key language features and libraries, this practical book shows you how to make your code shorter, faster, and more readable all at the same time—what experts consider Pythonic.

Many programmers who learn Python basics fall into the trap of reinventing the wheel because of past experience in other languages, and try to bend the language to patterns that don't really apply to it. Author Luciano Ramalho, a Python Software Foundation member and Python programmer for 15 years, helps you drop your accent from another language so you can code Python fluently.

  • Learn practical applications of generators for database processing
  • Rethink some design patterns in a Python context
  • Examine attribute descriptors and when to use them: the key to ORMs
  • Explore Pythonic objects: protocols versus interfaces, abstract base classes and multiple inheritance
Table of Contents
Product Details
About the Author
Recommended for You
Customer Reviews

REVIEW SNAPSHOT®

by PowerReviews
oreillyFluent Python
 
4.7

(based on 14 reviews)

Ratings Distribution

  • 5 Stars

     

    (13)

  • 4 Stars

     

    (0)

  • 3 Stars

     

    (0)

  • 2 Stars

     

    (0)

  • 1 Stars

     

    (1)

93%

of respondents would recommend this to a friend.

Pros

  • Well-written (13)
  • Helpful examples (12)
  • Accurate (10)
  • Easy to understand (10)
  • Concise (7)

Cons

    Best Uses

    • Intermediate (13)
    • Expert (8)
    • Student (5)
    • Novice (4)
      • Reviewer Profile:
      • Developer (12)

    Reviewed by 14 customers

    Sort by

    Displaying reviews 1-10

    Back to top

    Previous | Next »

     
    5.0

    I do recommend it

    By Roger test infected

    from Sao Jose dos Campos, BR

    About Me Developer

    Verified Reviewer

    Pros

    • Easy to understand
    • Helpful examples
    • Well-written

    Cons

      Best Uses

      • Intermediate
      • Novice
      • Student

      Comments about oreilly Fluent Python:

      What I like most is the way the author writes where you a sort of feel challenged and it is hard stop reading.
      In other words, it is not easy write a technical content in such an enjoyable way.

      In terms of code content, it's amazing and rich. It's impressive when you see a code written in a Pythonic way compared they way you wrote before.
      There are lots of library and code examples that will help you be more a pragmatic programmer.

      Definitely it is worth and a must read for all developers levels. It also is an essential reference book covering from Python core to concurrency, metaprogramming and much more!

       
      5.0

      For those wanting to truly 'grok' Python

      By Red Squirrel

      from Poland

      About Me Developer

      Verified Buyer

      Pros

      • Accurate
      • Concise
      • Helpful examples
      • Insightful
      • Well-written

      Cons

        Best Uses

        • Expert
        • Intermediate

        Comments about oreilly Fluent Python:

        A truly excellent book that follows in the footsteps of Tim Peters' classic Zen of Python. This puts meat on the bones of that earlier work by detailing why and how Python can be so powerful in specific coding examples which will be helpful to a developer. At the heart of it is not so much the diversity of the libraries but the elegance and utility of the Python Data Model, and the author does a great job in explaining how this model can be leveraged by adapting user defined classes to it.
        After reading it you'll have a much deeper understanding of what it means to be 'Pythonic' and how to embody that in your code.

        The 'Soapbox' feature at the end of each chapter is a nice touch also.

        Fortunately, for someone like me who generally codes in Python 2.x the book is not tied too closely to the specifics of Python 3, and where there are differences the author points them out.

        I would strongly recommend this to either Pythonistas who are at intermediate level or beyond or experienced developers who are relatively new to Python.

        (1 of 2 customers found this review helpful)

         
        5.0

        Great book

        By Gianpaolo

        from Italy

        About Me Designer, Developer

        Verified Buyer

        Pros

        • Helpful examples
        • Well-written

        Cons

          Best Uses

          • Expert
          • Intermediate

          Comments about oreilly Fluent Python:

          A real Pythonic book, I enjoied a lot with it.

          (3 of 3 customers found this review helpful)

           
          5.0

          Clear, Concise, and Effective Book

          By aseeon

          from Poland

          About Me Developer, Python Engineer

          Verified Reviewer

          Pros

          • Accurate
          • Concise
          • Helpful examples
          • Well-written

          Cons

            Best Uses

            • Advanced
            • Expert
            • Intermediate

            Comments about oreilly Fluent Python:

            I have read many books about Python, some good and some bad. But this is the first book I consider a "Must Have" for every python programmer out there.

            The book covers a good range of knowledge, from list comprehensions to references, mutability and hashing.

            The examples are to the point and well thought out. They clearly convey to idea behind them and teach a particular topic.

            This book is for advanced python programmers not beginners.

            Summary: Well worth every penny!

            (1 of 1 customers found this review helpful)

             
            5.0

            The Pythonic way

            By Dyego Cantu

            from Pato Branco, Brazil

            About Me Developer, Maker

            Verified Reviewer

            Pros

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

            Cons

              Best Uses

              • Expert
              • Intermediate
              • Student

              Comments about oreilly Fluent Python:

              Fluent Python is about going beyond the "how to" and achieve "because do".

              I'm reading the "early release" version and I am looking forward to the next chapters.
              The Fluent Python book addresses key aspects and even controversial, such as special methods and interfaces of language, in a clear and objective way, facilitating its practical application.
              Luciano Ramalho, the author, is brilliant in humanizing the high knowledge that only a few (like the author) can get.

              Surely this is a exemplar for the library of every "pythonic" developer.

              (1 of 1 customers found this review helpful)

               
              5.0

              The path to become a Python guru

              By Elias Dorneles

              from Florianopolis, Brasil

              About Me Developer

              Verified Reviewer

              Pros

              • Accurate
              • Helpful examples
              • Interesting Back Stories
              • Well-written

              Cons

                Best Uses

                • Expert
                • Intermediate

                Comments about oreilly Fluent Python:

                While this book alone won't make you fluent in Python (you still need a good bit of practice for that), it sure is a helpful shortcut.

                I'm reading the early release (it hasn't been finished yet, at the time of this writing) and I've already been able to use some of the ideas in my own work. I also feel my reasoning about Python code has improved quite a bit.

                I'm grateful that someone is writing a book like this, that not only shows you HOW to do stuff but also explains WHY things are the way they are. This is clearly a labor of love -- collecting stories, constructing examples, checking references and trying to make it digestible for other people.

                The book really comprises a lot of value, it's a great read for anyone who likes the Python language.

                (1 of 1 customers found this review helpful)

                 
                5.0

                Probably the best Python book around

                By Luis

                from Boston, MA

                Verified Reviewer

                Pros

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

                Cons

                  Best Uses

                  • Intermediate
                  • Student

                  Comments about oreilly Fluent Python:

                  This is probably the best book on intermediate python ever. Unlike other intermediate level python books, this is not just a cookbook but rather expands the examples with clear explanations. The way the author explains the subjects is so clear and shows such a deep knowledge of the matter that it makes it a real page turner (how many times can you apply that to programming books?). Despite being only a early release the fact that new chapters are added almost every two weeks kind of feels like I have a subscription to a professional edited Python newsletter. The only complain is that the estimated size is only 400 pages, please make it longer. Congratulations to the author.

                  (4 of 4 customers found this review helpful)

                   
                  5.0

                  The third book on Python you'll need

                  By bgschaid

                  from Austria

                  About Me Developer

                  Verified Buyer

                  Pros

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

                  Cons

                    Best Uses

                    • Expert
                    • Intermediate

                    Comments about oreilly Fluent Python:

                    I'm currently reading this book in the Early Access so I can only judge the first 6 chapters, but these chapters alone are worth the price of the book.

                    This book is not an introductory text on Python (that would be the first book). It explains all the things that would only confuse beginners but are good to know once you've mastered the basics.

                    My recommendation is that you read this book once you've mastered a basic text AND done some Python-projects on your own because then you'll have encountered things were you said "strange, why does this work this way?" (for instance "why is len not a method but a function?"). And only then you'll be able to really appreciate the book.

                    Apart from the great technical content I like the "soapbox"-sections at the end of each chapter where the author says "these were the technical facts (no discussion about these) now here comes my opinion. But that is my opinion". Not all books make that distinction and facts and opinions of the author are mixed.

                    So: don't read this book after your first Python book but some months (in which you worked with Python) later. But if you want to continue seriously working with Python then this book is great. Therefor: the third book on Python you should read

                    (1 of 1 customers found this review helpful)

                     
                    5.0

                    Amazing!

                    By Davi

                    from Rio de Janeiro, RJ - Brazil

                    About Me Developer, Sys Admin

                    Verified Reviewer

                    Pros

                    • Easy to understand
                    • Helpful examples
                    • Well-written

                    Cons

                      Best Uses

                      • Intermediate
                      • Novice

                      Comments about oreilly Fluent Python:

                      Definitely required reading for anyone who wants to understand Python language consistencies. The author provides a lot of examples with good explanations about Python's magic. This knowledge which is required for any serious programmer that wants to write idiomatically correct Python software.

                      (1 of 1 customers found this review helpful)

                       
                      5.0

                      Great book even in a early release state

                      By Adriano Petrich

                      from Dundee, UK

                      About Me Developer, Maker

                      Verified Reviewer

                      Pros

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

                      Cons

                        Best Uses

                        • Expert
                        • Intermediate

                        Comments about oreilly Fluent Python:

                        Really good. If something I would love more soapbox parts (Where the author talks about his experience with the python community and personal opinions)

                        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?
                        Pre-Order  Print: $49.99
                        August 2015 (est.)