Python Programming from 0 to 1 (Video Edition)
Tags
Summary
Editor's review
Who it's for
A good fit for
- 高校理工科专业把 Python 作为第一门程序设计课的学生
- 学过一点编程、想系统补齐程序设计基础的读者
- IT 培训机构 Python 课程的学习者与讲师
- 希望从语法层面深入到编程模型与数据结构的自学者
Not a good fit for
- 完全没装过 Python、需要手把手教环境搭建的纯零基础读者
- 想直接做数据分析、爬虫、机器学习项目实战的读者
- 只想速查语法、当作案头速查手册使用的读者
Reading tips
- 读前先自行安装 Python 3 并按书中方式跑通交互模式与脚本,否则第 1 章会卡住。
- 第 1 章的示例与练习务必亲手敲一遍,只看不练难以体会程序执行模型。
- 第 3 章数据结构部分建议配合纸笔画出内存与链表结构,理解效率差异。
- 配书视频与源码可在华章公司网站本书页面下载,建议按小节跟学。
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
- Chapter 1 Basics
- 1.1 History
- 1.2 Expressions (Operands, Operators, Nesting, Side Effects)
- 1.3 Running Programs (Interactive Execution Mode, Help Documentation, Scripts, Identifiers and Keywords, Error Messages, Euclid's Algorithm)
- 1.4 Built-in Types, Assignment, and References (Literals, Constructors, Container Types, Indexing and Slicing, the del Operation)
- 1.5 Control Flow Structures (if, Boolean Operations, while, for, Conditional Expressions, Defining Simple Functions)
- 1.6 Input/Output (Standard I/O Streams, Redirection, Pipes, Command-Line Arguments, Environment Variables, Formatted Strings)
- 1.7 Simple Exercises (Printing a Pyramid, the 3X+1 Problem, Drawing Regular Polygons, Drawing Function Curves, the Monte Carlo Method, Aitken Iteration)
- 1.8 Program Execution Model (Stateless Programs, Stateful Programs, Linear Memory, Designing Programs with Stacks/Queues)
- 1.9 Describing Algorithm Performance
- 1.10 Exception Handling
- 1.11 Program Debugging
- Chapter 2 Functions
- 2.1 Function Basics (Definition and Calls, Lambda Expressions, Callback Functions, Closures, Parameter Passing, Docstrings)
- 2.2 Modules and Packages
- 2.3 Scope and Stack Frames
- 2.4 Recursion (Single and Multiple Recursion, the Koch Snowflake, Post-order Traversal of Binary Trees, Eliminating Tail Recursion, Dynamic Programming, Wildcard Matching)
- 2.5 Classes and Instance Methods
- 2.6 Higher-Order Functions (Function Decorators, map and filter)
- 2.7 Iterator and Generator Patterns (Generator Functions, List Comprehensions and Generator Expressions)
- Chapter 3 Data Structures
- 3.1 Lists (Memory and Structure, Insertion, Sorting, Binary Search, Basic Operation Interfaces)
- 3.2 Linked Lists (Singly Linked Lists, the Iterator Pattern, Implementing Stacks and Queues with Linked Lists, Doubly Circular Linked Lists)
- 3.3 Hash Tables (Basic Principles, Application Examples, Dictionaries)
- 3.4 Binary Trees (Representation and Storage, Traversal, Binary Search Trees, Binary Heaps and Priority Queues, Huffman Coding)
- 3.5 Case Studies (deque Linked-List Blocks, OrderedDict)
- 3.6 Comprehensive Exercise: Pathfinding Algorithms (Graph Representation, Dijkstra's Algorithm, the A* Algorithm)
- Chapter 4 Object Orientation
- 4.1 Classes (Instance Methods, Static Methods, Class Attributes and Class Methods, Private Members, the property Decorator, Dynamically Adding Attributes and __slots__, Instance Lifecycles, Copying Objects)
- 4.2 Inheritance and Polymorphism (Syntax, How to Design Classes, Multiple Inheritance, Duck Typing and Polymorphism)
- 4.3 Comprehensive Exercise: GUI Programming with PyQt (Installing PyQt, Creating Windows with Inheritance, Responding to Events)
- References
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.
About the author
Zhang Di is an author about whom limited public information is available; only one social science work is known, Industrial Chain Resilience: A Statistical Measurement Based on China's Manufacturing Industry. As the title suggests, the book focuses on industrial economics and statistical methods, taking China's manufacturing sector as its object of study and measuring the resilience of industrial chains. A topic of this kind generally requires both a theoretical framework and data support, so the writing is likely to emphasize conceptual definition, indicator construction, and empirical analysis in a rigorous and practical style. The work is intended for readers in economic research, industrial policy, and statistical practice, and is a specialized study in a focused field. Since details of the author's life, education, and positions are not available in public sources, the full picture of the author's work remains to be disclosed, but this book already shows an attention to the intersection of industrial chains and statistical measurement.