没有合适的资源?快使用搜索试试~ 我知道了~
首页Pro Python(Apress,2ed,2014)
Pro Python(Apress,2ed,2014)
5星 · 超过95%的资源 需积分: 9 21 下载量 182 浏览量
更新于2023-03-16
评论
收藏 6.34MB PDF 举报
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.
资源详情
资源评论
资源推荐
Browning
Alchin
Shelve in
Programming Languages/General
User level:
Intermediate–Advanced
www.apress.com
SOURCE CODE ONLINE
BOOKS FOR PROFESSIONALS BY PROFESSIONALS
®
Pro Python
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 you’ll learn:
• How to write strong Python code that will be respected in the
Python community
• Understanding the reasons behind big design decisions in Python
• How to utilize doc strings in Python
• How to work with CSV and sheets framework
• How to work with decorators
• How to prepare your code for international audiences
• How to ensure code quality
SECOND
EDITION
RELATED
9781484 203354
54999
ISBN 978-1-4842-0335-4
www.it-ebooks.info
iii
Contents at a Glance
About the Authors ������������������������������������������������������������������������������������������������������������� xvii
About the Technical Reviewer ������������������������������������������������������������������������������������������� xix
Acknowledgments ������������������������������������������������������������������������������������������������������������� xxi
Introduction ��������������������������������������������������������������������������������������������������������������������� xxiii
Chapter 1: Principles and Philosophy ■ �������������������������������������������������������������������������������1
Chapter 2: Advanced Basics ■ ��������������������������������������������������������������������������������������������19
Chapter 3: Functions ■ �������������������������������������������������������������������������������������������������������59
Chapter 4: Classes ■ ���������������������������������������������������������������������������������������������������������115
Chapter 5: Common Protocols ■ ���������������������������������������������������������������������������������������161
Chapter 6: Object Management ■ �������������������������������������������������������������������������������������189
Chapter 7: Strings ■ ����������������������������������������������������������������������������������������������������������213
Chapter 8: Documentation ■ ���������������������������������������������������������������������������������������������233
Chapter 9: Testing ■ ����������������������������������������������������������������������������������������������������������243
Chapter 10: Distribution ■ ������������������������������������������������������������������������������������������������259
Chapter 11: Sheets: A CSV Framework ■ ��������������������������������������������������������������������������269
Appendix A: Style Guide for Python ■ �������������������������������������������������������������������������������317
Appendix B: Voting Guidelines ■ ���������������������������������������������������������������������������������������331
Appendix C: The Zen of Python ■ ��������������������������������������������������������������������������������������333
Appendix D: Docstring Conventions ■ ������������������������������������������������������������������������������335
www.it-ebooks.info
■ Contents at a GlanCe
iv
Appendix E: Backward Compatibility Policy ■ ������������������������������������������������������������������341
Appendix F: Python 3000 ■ �����������������������������������������������������������������������������������������������343
Appendix G: Python Language Moratorium ■ �������������������������������������������������������������������347
Index ���������������������������������������������������������������������������������������������������������������������������������351
www.it-ebooks.info
xxiii
Introduction
is second edition only adds to the value of Marty’s original work. For those who would further their programming
knowledge, this text is for you.
—J. Burton Browning
When I wrote my rst book, Pro Django, I didn’t have much of an idea what my readers would nd interesting. I had
gained a lot of information I thought would be useful for others to learn, but I didn’t really know what would be the
most valuable thing they’d take away. As it turned out, in nearly 300 pages, the most popular chapter in the book
barely mentioned Django at all. It was about Python.
e response was overwhelming. ere was clearly a desire to learn more about how to go from a simple Python
application to a detailed framework like Django. It’s all Python code, but it can be hard to understand based on even a
reasonably thorough understanding of the language. e tools and techniques involved require some extra knowledge
that you might not run into in general use.
is gave me a new goal with Pro Python: to take you from procient to professional. Being a true professional
requires more experience than you can get from a book, but I want to at least give you the tools you’ll need.
Combined with the rich philosophy of the Python community, you’ll nd plenty of information to take your code to
the next level.
Who This Book Is For
Because my goal is to bring intermediate programmers to a more advanced level, I wrote this book with the
expectation that you’ll already be familiar with Python. You should be comfortable using the interactive interpreter,
writing control structures and a basic object-oriented approach.
at’s not a very dicult prerequisite. If you’ve tried your hand at writing a Python application—even if you
haven’t released it into the wild, or even nished it—you likely have all the necessary knowledge to get started.
e rest of the information you’ll need is contained in these pages.
www.it-ebooks.info
剩余368页未读,继续阅读
vanridin
- 粉丝: 108
- 资源: 1192
上传资源 快速赚钱
- 我的内容管理 收起
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
会员权益专享
最新资源
- stc12c5a60s2 例程
- Android通过全局变量传递数据
- c++校园超市商品信息管理系统课程设计说明书(含源代码) (2).pdf
- 建筑供配电系统相关课件.pptx
- 企业管理规章制度及管理模式.doc
- vb打开摄像头.doc
- 云计算-可信计算中认证协议改进方案.pdf
- [详细完整版]单片机编程4.ppt
- c语言常用算法.pdf
- c++经典程序代码大全.pdf
- 单片机数字时钟资料.doc
- 11项目管理前沿1.0.pptx
- 基于ssm的“魅力”繁峙宣传网站的设计与实现论文.doc
- 智慧交通综合解决方案.pptx
- 建筑防潮设计-PowerPointPresentati.pptx
- SPC统计过程控制程序.pptx
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功
评论2