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
尊敬的读者:
欢迎您访问我们的网站。本站的初衷是为大家提供一个共享学习资料、交换知识的平台。每位用户都可以将文件上传至网盘并分享。
然而,随着用户上传的资料增多,我们发现部分不宜或版权问题的书籍被分享到了本站。
为此,我们已经关闭了分享入口,并进行了多次书籍审查,但仍有部分内容未能彻底审查到位。
在此,我们恳请广大读者与我们共同监督,如发现任何不宜内容,请 点击此处 进行举报,我们会第一时间处理并下架相关内容。
希望我们能共建一个文明社区!感谢您的理解与支持!
猜你喜欢
- 《永久记录》爱德华・斯诺登中文版 电子书下载
- 《漫画心理学》商磊修订珍藏版 电子书下载
- 《垃圾回收的算法与实现》中村成洋 / 相川光 电子书下载
- 《斯泰尔斯庄园奇案》阿加莎·克里斯蒂丁大刚 电子书下载
- 《登天的感觉:我在哈佛大学做心理咨询》岳晓东文字版 电子书下载
- 《作家榜经典:隐身人》赫伯特・乔治・威尔斯文字版 电子书下载
- 《瓦尔登湖》梭罗文字版 电子书下载
- 《需要时,就给我电话》雷蒙德·卡佛中文修订版 电子书下载
- 《新日本语能力测试词汇速记手册:N1词汇》新东方日语考试研究中心文字版 电子书下载
- 《共享经济:重构未来商业新模式》[美] 罗宾•蔡斯修订版 电子书下载
- 《期货风云》许枫经典版 电子书下载
- 《洛克菲勒留给儿子的38封信》洛克菲勒 文字版 电子书下载