Python for Everyone, 2nd Edition (Chinese Translation)
Tags
Summary
Editor's review
Who it's for
A good fit for
- 高校计算机及相关专业把 Python 作为第一门程序设计课的本科生、研究生
- 零基础或只零散用过 Python、希望系统补齐语法与编程思维的读者
- 需要讲授程序设计课、寻找结构完整且例题丰富的教材的高校教师与培训机构讲师
- 有 Java、C 等语言基础,想通过一本严谨教材转学 Python 3 的程序员
Not a good fit for
- 想直接学数据分析、机器学习、爬虫或 Web 框架等应用方向、不打算打语法基础的人
- 已熟练使用 Python、希望了解语言底层实现或 CPython 源码的进阶开发者
- 习惯照着视频抄代码、不愿意做章末练习的速成型读者
Reading tips
- 按章节顺序阅读,认真完成每章的自测题与编程练习,书中方法类内容只看不练很难吸收。
- 动手前先在纸上写清输入、输出与步骤,再对照书中的流程图、测试用例练习问题解决过程。
- 学完第6章列表与第9章对象后,建议回头把一个早先写过的程序重写为函数与类版本,体会抽象带来的改变。
- 教师可将第11、12章的递归与排序搜索作为选读或进阶专题,配合工具箱小节布置跨学科练习。
About the publisher
In addition to science and technology and professional publishing, the books in our catalog from China Machine Press also reflect a sustained focus on psychology, computing, management, finance and economics, and social sciences. In psychology, the catalog includes works by C. G. Jung and introductions to analytical psychology, as well as applied topics such as stress and health, and addiction and healing. In computing, it features Structure and Interpretation of Computer Programs (JavaScript Edition). Management and finance titles include Administrative Behavior (4th Edition), The Price of Inequality (Collector's Edition), and This Time Is Different: Eight Centuries of Financial Folly (Commemorative Edition). In the philosophy and history of science, there is The Worldview: The Third Edition. Relevant authors include C. G. Jung, William McGuire, Sonu Shamdasani, and Gabor Maté. Public information is limited; the above summarizes the publisher's profile based solely on the books in our catalog.
Contents
- Publisher's Note
- Translator's Preface
- Preface
- Chapter 1 Introduction (Computer Programs, Anatomy of a Computer, The Python Programming Language, Becoming Familiar with the Programming Environment, Analyzing Your First Program, Errors, Problem Solving: Algorithm Design)
- Chapter 2 Programming with Numbers and Strings (Variables, Arithmetic Operations, Problem Solving: First Do It By Hand, Strings, Input and Output, Graphics: Simple Drawings)
- Chapter 3 Decisions (The if Statement, Relational Operators, Nested Branches, Multiple Alternatives, Flowcharts, Test Cases, Boolean Variables and Operators, Analyzing Strings, Input Validation)
- Chapter 4 Loops (The while Loop, Hand Tracing, Sentinel Values, Storyboards, Common Loop Algorithms, The for Loop, Nested Loops, Processing Strings, Random Numbers and Simulations, Digital Image Processing)
- Chapter 5 Functions (Functions as Black Boxes, Implementing and Testing Functions, Parameter Passing, Return Values, Reusable Functions, Stepwise Refinement, Variable Scope, The Image Processing Toolkit, Recursive Functions (Optional))
- Chapter 6 Lists (Basic Properties of Lists, List Operations, Common List Algorithms, Using Lists with Functions, Adapting Algorithms, Tables)
- Chapter 7 Files and Exceptions (Reading and Writing Text Files, Text Input and Output, Command-Line Arguments, Binary Files and Random Access (Optional), Exception Handling, Handling Input Errors)
- Chapter 8 Sets and Dictionaries (Sets, Dictionaries, Complex Structures)
- Chapter 9 Objects and Classes (Object-Oriented Programming, Implementing a Simple Class, Specifying the Public Interface of a Class, Designing Data Representations, Constructors, Implementing Methods, Testing a Class, Tracing Objects, Patterns for Object Data, Object References, The Fraction Class)
- Chapter 10 Inheritance (Inheritance Hierarchies, Implementing Subclasses, Calling the Superclass Constructor, Overriding Methods, Polymorphism, A Geometric Shapes Class Hierarchy)
- Chapter 11 Recursion (Triangle Numbers Revisited, Thinking Recursively, Recursive Helper Functions, The Efficiency of Recursion, Permutations, Backtracking, Mutual Recursion)
- Chapter 12 Sorting and Searching (Selection Sort and Its Analysis, Merge Sort and Its Analysis, Linear Search, Binary Search, Estimating the Running Time of Algorithms)
FAQ
这本书需要先学其他编程语言吗?
中文版和英文原版内容一致吗?
书中的代码用哪个 Python 版本?
和董付国自己写的《Python程序设计》是同一本书吗?
这本书适合考研或找工作的面试准备吗?
Comments
Find this book
This site is an index: you start “Search all sources” in your browser, and the entries it lists all point to third-party sites; please judge their availability yourself.