Book Description
Gain a fundamental understanding of Python’s syntax and features with this up–to–date introduction and practical reference. Covering a wide array of Python–related programming topics, including addressing language internals, database integration, network programming, and web services, you’ll be guided by sound development principles. Ten accompanying projects will ensure you can get your hands dirty in no time.
Updated to reflect the latest in Python programming paradigms and several of the most crucial features found in Python 3, Beginning Python also covers advanced topics such as extending Python and packaging/distributing Python applications.
What You’ll Learn
- Become a proficient Python programmer by following along with a friendly, practical guide to the language’s key features
- Write code faster by learning how to take advantage of advanced features such as magic methods, exceptions, and abstraction
- Gain insight into modern Python programming paradigms including testing, documentation, packaging, and distribution
- Learn by following along with ten interesting projects, including a P2P file–sharing application, chat client, video game, remote text editor, and more
Who This Book Is For
Programmers, novice and otherwise, seeking a comprehensive introduction to the Python programming language.
Table of Contents
Chapter 1: Instant Hacking: The Basics
Chapter 2: Lists and Tuples
Chapter 3: Working with Strings
Chapter 4: Dictionaries: When Indices Won’t Do
Chapter 5: Conditionals, Loops, and Some Other Statements
Chapter 6: Abstraction
Chapter 7: More Abstraction
Chapter 8: Exceptions
Chapter 9: Magic Methods, Properties, and Iterators
Chapter 10: Batteries Included
Chapter 11: Files and Stuff
Chapter 12: Graphical User Interfaces
Chapter 13: Database Support
Chapter 14: Network Programming
Chapter 15: Python and the Web
Chapter 16: Testing, 1-2-3
Chapter 17: Extending Python
Chapter 18: Packaging Your Programs
Chapter 19: Playful Programming
Chapter 20: Project 1: Instant Markup
Chapter 21: Project 2: Painting a Pretty Picture
Chapter 22: Project 3: XML for All Occasions
Chapter 23: Project 4: In the News
Chapter 24: Project 5: A Virtual Tea Party
Chapter 25: Project 6: Remote Editing with CGI
Chapter 26: Project 7: Your Own Bulletin Board
Chapter 27: Project 8: File Sharing with XML-RPC
Chapter 28: Project 9: File Sharing II—Now with GUI!
Chapter 29: Project 10: Do-It-Yourself Arcade Game
Appendix A: The Short Version
Appendix B: Python Reference
中文:
书名:Beginning Python: From Novice to Professional, 3rd Edition
通过这篇最新的介绍和实践参考,您可以对Python的语法和特性有一个基本的了解。涵盖了广泛的与Python相关的编程主题,包括解决语言内部、数据库集成、网络编程和Web服务,您将以合理的开发原则为指导。十个配套的项目将确保你可以在任何时间动手。
更新以反映最新的Python编程范例和在Python3中发现的几个最关键的功能, Beginning Python 还介绍了一些高级主题,如扩展Python和打包/分发Python应用程序。
你会学到什么?
- 通过遵循友好、实用的语言主要功能指南,成为一名熟练的Python程序员
- 通过学习如何利用高级功能(如魔术方法、异常和抽象)来更快地编写代码
- 深入了解现代Python编程范例,包括测试、文档、打包和分发
- 通过学习十个有趣的项目,包括P2P文件共享应用程序、聊天客户端、视频游戏、远程文本编辑器等
这本书是为谁写的
程序员,新手和其他人,寻求对Python编程语言的全面介绍。
目录表
第1章:即时黑客:基础知识
Chapter 2: Lists and Tuples
第3章:使用字符串
第4章:词典:当索引不起作用时
第5章:条件句、循环和其他一些语句
第六章:抽象
Chapter 7: More Abstraction
第8章:例外情况
Chapter 9: Magic Methods, Properties, and Iterators
第十章:包括电池
Chapter 11: Files and Stuff
第12章:图形用户界面
Chapter 13: Database Support
第14章:网络编程
第15章:Python和Web
Chapter 16: Testing, 1-2-3
Chapter 17: Extending Python
Chapter 18: Packaging Your Programs
第19章:有趣的编程
第20章:项目1:即时标记
第21章:项目2:描绘一幅美丽的图画
第22章:项目3:适用于所有场合的XML
Chapter 23: Project 4: In the News
第24章:项目5:虚拟茶党
第25章:项目6:使用CGI进行远程编辑
Chapter 26: Project 7: Your Own Bulletin Board
第27章:项目8:使用XML-RPC共享文件
第28章:项目9:文件共享II-现在使用图形用户界面!
第29章:项目10:DIY-YOY街机游戏
Appendix A: The Short Version
Appendix B: Python Reference
评论前必须登录!
注册