Fluent Python: Clear, Concise, and Effective Programming

Category: Programming
Author: Luciano Ramalho
This Month Reddit 2

About This Book

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


by drewsmiff   2019-07-21

These two books were bigly for me:

  • For General Python https://www.amazon.com/Fluent-Python-Concise-Effective-Programming/dp/1491946008
  • ML https://www.amazon.com/Hands-Machine-Learning-Scikit-Learn-TensorFlow/dp/1491962291/ref=pd_sim_14_10?_encoding=UTF8&pd_rd_i=1491962291&pd_rd_r=40690e9b-2e7c-11e9-9984-118200045634&pd_rd_w=UlPyJ&pd_rd_wg=7RQl2&pf_rd_p=90485860-83e9-4fd9-b838-b28a9b7fda30&pf_rd_r=PA5NDVMS1A529R5WR2YJ&psc=1&refRID=PA5NDVMS1A529R5WR2YJ
by danysdragons   2019-07-21

As others have said, Automate the Boring Stuff is a good place to start.

Down the road if you really want to go deep into Python and want an advanced book, Fluent Python is fantastic.