Read Fluent Python: Clear, Concise, and Effective Programming by Luciano Ramalho Online


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 tPython'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 objectsData structures: take full advantage of built-in types, and understand the text vs bytes duality in the Unicode ageFunctions as objects: view Python functions as first-class objects, and understand how this affects popular design patternsObject-oriented idioms: build classes by learning about references, mutability, interfaces, operator overloading, and multiple inheritanceControl flow: leverage context managers, generators, coroutines, and concurrency with the concurrent.futures and asyncio packagesMetaprogramming: understand how properties, attribute descriptors, class decorators, and metaclasses work"...

Title : Fluent Python: Clear, Concise, and Effective Programming
Author :
Rating :
ISBN : 9781491946008
Format Type : Paperback
Number of Pages : 792 Pages
Status : Available For Download
Last checked : 21 Minutes ago!

Fluent Python: Clear, Concise, and Effective Programming Reviews

  • Jascha
    2019-02-07 01:41

    Among the books that are currently populating my Goodread's wishlist are no less than 20 titles dedicated to the Python language. They range from Django up to pandas, passing through Twisted and Test-Driver Development. Time is limited, so they often end up waiting in queue for months. But when I've seen Fluent Python on that shelf I had to make it mine immediately and put it in front of that queue. Getting through this book took me several months, not only because we are talking about some 700 hundreds good pages, but mostly due to the fact that it covers advanced topics that most of the Pythonists currently living on planet Earth never heard of in their life. Fluent Python is one of those books that you must taste little by little or you get devoured by those fierce topics and examples.Released late this summer, Fluent Python is the latest work of Ramalho, a name that should sound familiar to those that have been already diving deeply into, allow me the term, Python's high-end features, powerful things, such as coroutines, that most developers never heard of in their life. Those that did probably hope never being tested on them during a job interview. And that's pretty much what the book is all about. Neither style nor the the basics of the language, but very advanced features. Quite a rare book indeed, since almost all of the Python books available introduce the readers to the language and don't get past Object Oriented Programming.An excellent text overall, no doubts. Not for the faint of heart. Still, I am a bit puzzled by the fact that some chapters look extremely simple, others cover quirks and intricacies that you can probably live without, unless you dare touching the very core of the language ,and that get you to reach the end of a chapter with that what the hell expression on your face. The chapter covering abstract classes is an example of the former. Don't get me wrong, it's interesting and the examples well laid out. Still, it looks a basic concept that doesn't fit this kind of book.A couple of words on the examples: they are throughout the whole book well done. The author often presents the same concepts in different flavors or does work on the same example and improves it as concepts are taken into the discussion. The code is intense but easy to follow. Key lines are extensively explained later on, so that the reader won't miss that specific features that makes it all possible. There are so many gems that you will probably end up writing most of that code down to make it yours. This is actually the best thing the reader can do. Try it, modify it, assimilate it, master it.Among the many topics covered there are two that are worth mentioning: the first is chapter four, which covers strings, Unicode and bytes. Marvelous, simply marvelous. The examples, the explanations. So clear and to the point. You definitely get away from it with a deep understanding of how strings work in Python 2.7 and 3. The second is that dedicated to futures. Actually it's the whole topic, which spans several chapters at the very end of the book. The authors shows how working with threads and subprocesses improve the efficiency of an application, and how easy it is to exploit them through the futures that are now available in the language. He does gives us a very interesting example in many different flavors, showing us how the code and performance change. Great.Decorators and closures are also well described, even if not as good as the aforementioned topics. In that sense, the author does complement what we find about the subject in Effective Python: 59 Specific Ways to Write Better Python, another must have for any serious Pythonist.Overall, a great Python book. A must have for any Python developer interested in getting the most out of the language.As usual, you can find more reviews on my personal blog: Feel free to pass by and share your thoughts!

  • Renan Ivo
    2019-01-21 22:30

    It is always a pleasure to read books writen from people who really understand a programming language an have good didactics. This book is one of these.The author writes about Python with passion but without hiding its flaws and pitfalls. As I read it, I could understand some concepts that seemed a little "magical" to me and discover that some concepts didn't work the way I thought.I recommend this book to everyone who already knows Python but wants to understand it for real.

  • Elias
    2019-01-27 06:38

    I've just now finished reading this awesome book!It took me several months (started reading the early release in January), there is a richness of information that it's probably a good idea to interleave with some practice to let the information sink in.The book helped me greatly, because throughout the period I've been doing a lot of not only coding but also code reviewing, and I feel I've grown a lot as a programmer in the process.One of the great things about this book is that after showing you the main points, it has pointers to great curated material for further reading. This also explains why it was hard for me to finish it: I got distracted reading some of the pointed resources. =)A minor nitpicking about the printed edition is that sometimes the text references color in figures which aren't colored (at least in my copy) -- a small thing that doesn't compromise the overall experience and something I hope is fixed in the next printed editions.If you're a Python programmer wanting to improve your chops, this book is what you want: it's a deep dive into the Python way, your designs will be better after this, your code will be more powerful, concise and probably easier to read too. It will help you to avoid many common traps that people coming from other languages are prone to fall into.Anyway, it has been a marvelous investment reading the book through the end, I'm pretty sure I'll be coming back to it. ;)

  • Michael
    2019-02-04 03:47

    One of the best Python books I've read, and one of the best tech books generally I've read. With a focus on writing correct and idiomatic Python code, Fluent Python also covers and provides good general insights into concurrency, metaclasses, and writing good clean maintainable code. Highly recommended.

  • Gary Boland
    2019-02-15 05:44

    This is not only the best Python book that I have read, it is my favourite computer science book. The Author has done a fantastic job of explaining key concepts and gives additional information by linking to blogs/talks etc. Bravo Luciano

  • Mátyás Fodor
    2019-02-20 06:42

    Fluent Python really helps to grasp the higher level Python functionalities, to understand what's going on under the hood, and how to harness them most effectively. Requires a few years of Python experience (time is probably not a good measure, but it's definitely not for beginners).It's not a short and easy read, but it's worth it make your way through.The book si full of code samples, which makes it sometimes too details, but the main idea is not to lose the readers, which makes sense. Also, it's very rich in references, so if you want to follow up on a topic, it gets you started.

  • Aidis Stukas
    2019-02-16 06:25

    Great book if you want to know the best practices of Python (aka writing "Pythonic Code").This book deals with wide array of topics and does this in a very clear way.Its a great book for anyone who already have basic knowledge of Python and would like to learn the right habits.Recommended for those who have background in other programming languages.The only downside of this book that it might be too hard for someone who is only starting: the book should be read early enough though, so you learn the right habits.

  • Wojtek Erbetowski
    2019-02-10 02:30

    Really good, but also very long. This book took me two months to complete, but it was worth it.tThere was a surprising and uncommon thing, as I perceived it - the author tells you not only what and how, but also *why*, linking at the same time to discussions, PEPs and other sources from the history of Python. Highly recommended to current Python users.

  • Graziano Misuraca
    2019-01-23 05:31


  • Ilya
    2019-02-09 06:25

    Highly recommended, even though it's about old 3.4 python.

  • Frank
    2019-02-06 05:39

    전문가에게 유용할 내용. 나는 필요없다.

  • Jan Kroken
    2019-02-16 22:29

    Really good - especially liked the last 3 programs on metaprogramming, but was good all through

  • Miguel Sánchez
    2019-02-21 02:34

    The best Python book I've read so far. Essential lecture for intermediate programmers who wish to increase their Python level.

  • Eric Casteleijn
    2019-02-14 00:34

    This is a fantastic resource for any Python programmer. It explains the concepts behind and inner workings of the language using clear language, and unbelievably concise, yet readable code samples. Probably one of the most helpful sources if you want to learn about some of the more advanced areas of the language like meta programming, but it covers a lot of topics more likely to be of every day use as well. While it doesn't mention the term 'Pythonic' much, if at all, it will aid you to work with the language rather than against it by increasing your understanding of what good Python code looks like. It's also chock full of pointers to other books and articles, to delve even deeper into topics of interest.Mr. Ramalho is a great didactic writer and the whole book, in addition to being a reference I expect to come back to frequently, is also a pleasure to read.

  • Vishwanath
    2019-02-21 04:27

    Highly recommended for intermediate python programmers. Some of the material is heavy and does take work and additional research to sink in as the author explores the heart of the language under the covers. I also found some material incomprehensible - more so due to my own inexperience. But complex chapters are explained clearly with tons of examples and also historical context which is an added bonus. Particularly enjoyed the chapter on Dynamic attributes with excellent examples on reading JSON effectively. Another notable chapter was Concurrency with futures which had highly practical examples of scripts downloading files using threads to illustrate the concept. Overall, a great reference to own and go back to while dealing with challenging concepts.

  • Tony Poerio
    2019-02-09 02:33

    About halfway through this now, and it's already by far and away the best book I've read about Python. Couldn't recommend more.-- Update --The sections about concurrency, coroutines, and parallel programming are my favorites.This is the kind of stuff that helps you get from intermediate to advanced... The first book I've found with an in-depth explanation of these techniques in Python. Excellent.

  • Alexei
    2019-01-23 03:38

    A very useful book, great for commutingThis book is a collection of tutorials that expose many less frequently used features of Python while providing references for more in-depth treatment, should you ever need it. It's a pleasure to read, and I found that reading it in byte-sized sessions while commuting made a big impact on my Python fluency

  • Benjamin
    2019-02-01 22:44

    This is a placeholder review: I read the first 100 or so pages of this book. Ramalho says this shouldn't be an intro to Python, which it kind of was for me. Still, some of his deep diving into issues seemed really interesting and enlightening to me. Looking forward to getting through more (once I get it back from the library).

  • Siddhant Shrivastava
    2019-02-04 05:46

    If you feel like you are just using Python libraries to get stuff done without "really" knowing what you're doing, then this is the book which you should read to get up to speed with the standard library and the core features of Python. I'll read it many times over just to maintain my Python chops and confidence.

  • Greg
    2019-01-24 02:43

    Quite a deep book on programming and programming concepts. I'm likely going to have to re-read several parts of this book again to completely understand what's going on, but this book is quite a good reading if you want to learn how to think about Python in a more meaningful way.

  • Andrew
    2019-02-03 06:43

    Not the book for me. Short on conceptual foundations, but long on poorly contextualized details. I recommend reading the chapter summaries and soap box sections and skipping the rest, except as a sort of tutorial when and if you come to need the technique.

  • Evan Zamir
    2019-01-31 06:34

    This is one of the best intermediate/advanced Python books I've read and has great discussion of generators and coroutines in Python.

  • Delhi Irc
    2019-02-05 00:40

    DL027801 ND6

  • Jasmine Koh
    2019-01-27 06:25

    Essential read to programme more elegantly with Python

  • Peter Roberts
    2019-02-07 01:40

    Incredibly good book. Informative, easy to read, comprehensive. Best programming book I've read in a while.

  • Myroslav Hryshyn
    2019-02-05 23:49

    One of the best books about Python I've ever read!

  • Matthew
    2019-02-02 02:54

    I got a lot out of this book. I now have a strong understanding of descriptors and coroutines. Enjoyed it, mistakes and all in the early release.

  • Ivelin Todorov
    2019-02-05 03:36

    Simply brilliant.

  • Davor
    2019-02-01 23:46

    Really good and up to date with all the bells and whistles the language got lately. Async features especially. Very nice.

  • Cheewai Lai
    2019-02-12 00:34

    An excellent sequel when you think you have mastered the basics of the Python programming language. Just enough depth without causing an implosion in your head.