Effective Python: 90 Specific Ways to Write Better Python,2nd Edition


Effective Python: 90 Specific Ways to Write Better Python (2nd Edition) (Effective Software Development Series)
Authors: Brett Slatkin
ISBN-10: 0134853989
ISBN-13: 9780134853987
Edition 版次: 2
Publication Date 出版日期: 2019-11-25
Print Length 页数: 480 pages


Book Description
By finelybook

Updated and Expanded for Python 3
It’s easy to start developing programs with Python,which is why the language is so popular. However,Python’s unique strengths,charms,and expressiveness can be hard to grasp,and there are hidden pitfalls that can easily trip you up.
This second edition of Effective Python will help you master a truly “Pythonic” approach to programming,harnessing Python’s full power to write exceptionally robust and well-performing code. Using the concise,scenario-driven style pioneered in Scott Meyers’ best-selling Effective C++,Brett Slatkin brings together 90 Python best practices,tips,and shortcuts,and explains them with realistic code examples so that you can embrace Python with confidence.
Drawing on years of experience building Python infrastructure at Google,Slatkin uncovers little-known quirks and idioms that powerfully impact code behavior and performance. You’ll understand the best way to accomplish key tasks so you can write code that’s easier to understand,maintain,and improve. In addition to even more advice,this new edition substantially revises all items from the first edition to reflect how best practices have evolved.
Key features include
30 new actionable guidelines for all major areas of Python
Detailed explanations and examples of statements,expressions,and built-in types
Best practices for writing functions that clarify intention,promote reuse,and avoid bugs
Better techniques and idioms for using comprehensions and generator functions
Coverage of how to accurately express behaviors with classes and interfaces
Guidance on how to avoid pitfalls with metaclasses and dynamic attributes
More efficient and clear approaches to concurrency and parallelism
Solutions for optimizing and hardening to maximize performance and quality
Techniques and built-in modules that aid in debugging and testing
Tools and best practices for collaborative development
Effective Python will prepare growing programmers to make a big impact using Python.
Contents
Preface
Acknowledgments
About the Author
1.Pythonic Thinking
2.Lists and Dictionaries
3.Functions
4.Comprehensions and Generators
5.Classes and Interfaces
6.Metaclasses and Attributes
7.Concurrency and Parallelism
8.Robustness and Performance
9.Testing and Debugging
10.Collaboration
Index
Code Snippets

相关文件下载地址

下载地址 Download解决验证以访问链接!
打赏
未经允许不得转载:finelybook » Effective Python: 90 Specific Ways to Write Better Python,2nd Edition

评论 抢沙发

觉得文章有用就打赏一下

您的打赏,我们将继续给力更多优质内容

支付宝扫一扫

微信扫一扫