相關主題
商品描述
You’ve learned the basics of Python, but how do you take your skills to the next stage? Even if you know enough to be productive, there are a number of features that can take you to the next level in Python. Pro Python, Second Edition explores concepts and features normally left to experimentation, allowing you to be even more productive and creative.
In addition to pure code concerns, Pro Python develops your programming techniques and approaches, which will help make you a better Python programmer. This book will improve not only your code but also your understanding and interaction with the many established Python communities.
This book takes your Python knowledge and coding skills to the next level. It shows you how to write clean, innovative code that will be respected by your peers. With this book, make your code do more with introspection and meta-programming. And learn and later use the nuts and bolts of an application, tier-by-tier as a complex case study along the way.
For more information, including a link to the source code referenced in the book, please visit http://propython.com/.
What youll learn
- Write strong Python code that will be respected in the Python community
- Understand the reasons behind big design decisions in Python
- Write programs that can reconfigure themselves in Python
- Disguise your code as different types of objects in Python
- Inspect just about any object in Python
- Prepare your code for international audiences
- Ensure code quality with rigorous testing
Who this book is for
This book is for intermediate to advanced Python programmers who are looking to understand how and why Python works the way it does and how they can take their code to the next level.
Table of Contents
1. Principles and Philosophy2. Advanced Basics
3. Functions
4. Classes
5. Common Protocols
6. Object Management
7. Strings
8. Documentation
9. Testing
10. Distribution
11. Sheets: A CSV Framework
12. Style Guide for Python
13. Voting Guidelines
14. The Zen of Python
15. Docstring Conventions
16. Backward Compatibility Policy
17. Python 3000
18. Python Language Moratorium
商品描述(中文翻譯)
你已經學會了Python的基礎知識,但是如何將你的技能提升到下一個階段呢?即使你已經具備足夠的能力來提高生產力,Python還有許多功能可以讓你更加高效和有創造力。《Pro Python, Second Edition》探索了一些通常只能通過實驗來了解的概念和功能,讓你能夠更加高效和有創造力。
除了純粹的程式碼問題,這本書還會培養你的編程技巧和方法,幫助你成為一名更好的Python程序員。這本書不僅會提高你的程式碼質量,還會加深你對眾多Python社區的理解和互動。
這本書將帶領你將Python知識和編碼技巧提升到更高的水平。它會教你如何撰寫乾淨、創新的程式碼,讓同行對你的程式碼表示尊重。通過這本書,你可以使用內省和元編程讓你的程式碼做更多事情。同時,你還可以透過一個複雜的案例研究,逐層學習和使用應用程式的細節。
如需更多資訊,包括書中引用的原始碼連結,請訪問http://propython.com/。
你將學到什麼:
- 撰寫強大的Python程式碼,受到Python社區的尊重
- 理解Python背後的重大設計決策原因
- 在Python中撰寫可以重新配置自己的程式
- 在Python中將你的程式碼偽裝成不同類型的物件
- 在Python中檢查幾乎任何物件
- 為國際觀眾準備你的程式碼
- 通過嚴格的測試確保程式碼質量
這本書適合中高級Python程序員,他們希望了解Python的工作原理以及如何將他們的程式碼提升到更高的水平。
目錄:
1. 原則和哲學
2. 進階基礎
3. 函數
4. 類別
5. 常見協議
6. 物件管理
7. 字串
8. 文件
9. 測試
10. 分發
11. Sheets: 一個CSV框架
12. Python風格指南
13. 投票指南
14. Python之禪
15. Docstring慣例
16. 向後兼容政策
17. Python 3000
18. Python語言禁令