Book Description
Learn only the essential aspects of Python without cluttering up your mind with features you may never use. This compact book is not a “best way to write code” type of book; rather, the author goes over his most-used functions, which are all you need to know as a beginner and some way beyond.
Lean Python takes 58 Python methods and functions and whittles them down to 15: as author Paul Gerrard says, “I haven’t found a need for the rest.”
What You’ll Learn
- Discover lean Python and how to learn just enough to build useful tools
- Use Python objects, program structure, I/O, modules and more
- Handle errors and exceptions
- Test your code
- Access the Web; do searching; and persist data
Who This Book Is For
This book is aimed at three categories of reader: The experienced programmer – if you already know a programming language, this book gives you a shortcut to understanding the Python language and some of its design philosophy.
You work in IT and need a programming primer – you might be a tester who needs to have more informed technical discussions with programmers. Working through the examples will help you to appreciate the challenge of good programming.
First-timer – you want a first book on programming that you can assimilate quickly to help you decide whether programming is for you.
Table of Contents
Chapter 1: Getting Started
Chapter 2: Python Objects
Chapter 3: Program Structure
Chapter 4: Input and Output
Chapter 5: Using Modules
Chapter 6: Object Orientation1
Chapter 7: Exception and Error Handling
Chapter 8: Testing Your Code
Chapter 9: Accessing the Web1
Chapter 10: Searching
Chapter 11: Databases1
Chapter 12: What Next?
Appendix: Further Information
中文:
书名:Lean Python: Learn Just Enough Python to Build Useful Tools
只学习Python的基本方面,而不是将您的脑海中塞满您可能永远不会用到的特性。这本紧凑的书不是编写代码的最佳方法类型的书;相反,作者复习了他最常用的函数,作为初学者,这些都是你需要知道的,还有一段路要走。
Lean Python 使用58个Python方法和函数,并将其缩减为15个:正如作者保罗·杰拉德所说,我还没有发现剩下的需要。
你会学到什么?
- 了解精益Python以及如何学习如何构建有用的工具
- 使用Python对象、程序结构、I/O、模块等
- 处理错误和异常
- Test your code
- 访问Web;进行搜索;持久化数据
Who This Book Is For
本书面向三类读者:有经验的程序员-如果你已经知道一门高级编程语言,这本书为你提供了一条捷径,让你更好地理解Python语言及其一些设计和哲学。
你在IT行业工作,需要一本编程入门读物–你可能是一名测试员,需要与程序员进行更有见地的技术讨论。学习这些示例将帮助您理解好的编程所面临的挑战。
初学者-你想要一本关于编程的第一本书,这样你就可以快速吸收,帮助你决定编程是否适合你。
Table of Contents
第1章:入门
第2章:Python对象
第三章:程序结构
Chapter 4: Input and Output
第5章:使用模块
Chapter 6: Object Orientation1
第7章:异常和错误处理
第8章:测试您的代码
第9章:访问网络1
Chapter 10: Searching
第11章:数据库1
Chapter 12: What Next?
附录:更多信息
评论前必须登录!
注册