We want your feedback!
Click here
cover image of Fluent Python

Fluent Python

Clear, Concise, and Effective Programming

by Luciano Ramalho

ebook

Sign up to save your library

With an OverDrive account, you can save your favorite libraries for at-a-glance information about availability. Find out more about OverDrive accounts.

   Not today

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
  • Publication Details

    Publisher:
    O'Reilly Media
    Publication Date:
    2015

    Format

    • Kindle Book
    • OverDrive Read 5.7 MB
    • Adobe PDF eBook 13.2 MB
    • Adobe EPUB eBook 9.9 MB
    • Open PDF eBook 13.4 MB
    • Open EPUB eBook 10 MB

    Luciano Ramalho (Author)

    Luciano Ramalho was a Web developer before the Netscape IPO in 1995, and switched from Perl to Java to Python in 1998. Since then he worked on some of the largest news portals in Brazil using Python, and taught Python web development in the Brazil...

    More about Luciano Ramalho
    Fluent Python
    Copy and paste the code into your website.