Fluent Python e-bog
310,39 DKK
(inkl. moms 387,99 DKK)
Pythons simplicity lets you become productive quickly, but this often means you arent using everything it has to offer. With this hands-on guide, youll learn how to write effective, idiomatic Python code by leveraging its bestand possibly most neglectedfeatures. Author Luciano Ramalho takes you through Pythons core language features and libraries, and shows you how to make your code shorter, f...
E-bog
310,39 DKK
Forlag
O'Reilly Media
Udgivet
30 juli 2015
Længde
792 sider
Genrer
Computer programming / software engineering
Sprog
English
Format
pdf
Beskyttelse
LCP
ISBN
9781491946268
Pythons simplicity lets you become productive quickly, but this often means you arent using everything it has to offer. With this hands-on guide, youll learn how to write effective, idiomatic Python code by leveraging its bestand possibly most neglectedfeatures. Author Luciano Ramalho takes you through Pythons 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