Effective Python: 90 Specific Ways to Write Better Python 电子书下载
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
尊敬的读者:
欢迎您访问我们的网站。本站的初衷是为大家提供一个共享学习资料、交换知识的平台。每位用户都可以将文件上传至网盘并分享。
然而,随着用户上传的资料增多,我们发现部分不宜或版权问题的书籍被分享到了本站。
为此,我们已经关闭了分享入口,并进行了多次书籍审查,但仍有部分内容未能彻底审查到位。
在此,我们恳请广大读者与我们共同监督,如发现任何不宜内容,请 点击此处 进行举报,我们会第一时间处理并下架相关内容。
希望我们能共建一个文明社区!感谢您的理解与支持!
猜你喜欢
- 《译林经典:傲慢与偏见》简·奥斯丁经典译林文字版 电子书下载
- 《粉红牢房效应:绑架思维、感觉和行为的9大潜在力量》亚当•奥尔特 电子书下载
- 《迭代:让情商和见识成为你最大的底气》薇安文字版 电子书下载
- 《饭局人脉术》黄凤祁收藏版 电子书下载
- Perl Cookbook 2nd Edition - Tom Christiansen and Nathan Torkington 电子书下载
- 《不那么完美也没关系》井上裕之修订版 电子书下载
- 《淮南子》刘安撰 陈广忠译 电子书下载
- 《财富的本质》[英] 萨姆•威尔金 电子书下载
- 《软技能:代码之外的生存指南》约翰 Z. 森梅兹文字版 电子书下载
- 《合伙人:如何发掘高潜力人才》费洛迪珍藏版 电子书下载
- 《人类世的遗产:寻找我们留给未来的足迹化石》大卫 法里尔文字版 电子书下载
- 《神在人间的时光:希腊神话欣赏(修订版)》陈喜辉文字版 电子书下载