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

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

Ratings Distribution

  • 5 Stars

     

    (11)

  • 4 Stars

     

    (0)

  • 3 Stars

     

    (0)

  • 2 Stars

     

    (0)

  • 1 Stars

     

    (1)

92%

of respondents would recommend this to a friend.

Pros

  • Well-written (11)
  • Helpful examples (10)
  • Accurate (9)
  • Easy to understand (9)
  • Concise (6)

Cons

    Best Uses

    • Intermediate (11)
    • Expert (7)
    • Student (4)
    • Novice (3)
      • Reviewer Profile:
      • Developer (10)

    Reviewed by 12 customers

    Sort by

    Displaying reviews 1-10

    Back to top

    Previous | Next »

    (1 of 1 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.

      (2 of 2 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.

              (3 of 3 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)

                    (1 of 1 customers found this review helpful)

                     
                    5.0

                    comprehensive book and at the same time

                    By claudiomarcoz

                    from osasco, sp brazil

                    About Me Developer

                    Verified Reviewer

                    Pros

                    • Accurate
                    • Concise
                    • Concise And Effective
                    • Easy to understand

                    Cons

                      Best Uses

                      • Intermediate
                      • Student

                      Comments about oreilly Fluent Python:

                      I am reading with great pleasure, good mastery of content and essentially a guide to the most interesting features of the language

                      (1 of 1 customers found this review helpful)

                       
                      5.0

                      Know interesting Python features

                      By Elyézer Rezende

                      from Minas Gerais, Brazil

                      About Me Developer

                      Verified Reviewer

                      Pros

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

                      Cons

                        Best Uses

                        • Intermediate
                        • Novice

                        Comments about oreilly Fluent Python:

                        Even though it stills on a early release, it is a must read book already. The already written chapters show many interesting Python features. I'm looking forward other chapters because they will provide more interesting already about Python features.

                        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
                        July 2015 (est.)