Fundamentals of the Python Language
Tags
Summary
The book has 12 chapters, each with detailed explanations of concepts and principles, along with many fine illustrations, code examples, and end-of-chapter exercises. Unlike similar textbooks, this book casts itself as a companion and interlocutor, giving readers a sense of belonging in learning and making learning a pleasure.
At the same time, the book stresses the cultivation of modes of thinking throughout, striving to give readers the ability to use Python to describe problems, analyze problems, and ultimately design and implement software solutions.
Editor's review
Who it's for
A good fit for
- Readers with zero background or new to programming who want to systematically master Python syntax and basic programming methods
- Teachers or trainers who need a clearly structured textbook with exercises to plan classroom teaching
- Learners with some background in other languages who want to review the key points of introductory Python through a complete knowledge system
- Self-learners who prefer to understand concepts through code examples and illustrations and who like to read step by step
Not a good fit for
- Readers who already have Python development experience and are looking for advanced topics or engineering practice
- People who want to directly study specific application areas such as data analysis or machine learning without systematically learning the basics
- Readers who only want a syntax quick-reference manual and do not want to read chapters in order
Reading tips
- Read in chapter order; for each chapter, first read through the concepts and principles, then run the code examples section by section and use the illustrations to understand them.
- Try to complete the end-of-chapter exercises independently; when encountering errors, debug them yourself first, then review the chapters on error handling.
- When studying functions and object-oriented programming, rewrite the small exercises from earlier chapters as functions or classes to reinforce the connections between topics.
- After reading file operations and database connections, try a small comprehensive exercise that links the GUI with data storage.
About the publisher
The Publishing House of Electronics Industry is a comprehensive publisher distinguished by its focus on electronic information and related fields. Judging from the more than 3,000 titles in its catalogue, its publishing covers programming and design, artificial intelligence, computer science, finance and economics, photography, and social sciences, attending both to cutting-edge technology and to general readers. Representative titles include Factor Investing: Methods and Practice, x86 Assembly Language: From Real Mode to Protected Mode, The RISC-V Reader, Artificial Intelligence: Speech Recognition, Understanding and Practice, Phased Array Radar Technology, Radar Target Characteristics, and 100 Go Mistakes and How to Avoid Them, most of which centre on technical methods and engineering practice. Its authors include Shi Chuan, Li Zhong, Wang Xiaobo, David Patterson, Andrew Waterman, and Yu Zihao, among others from China and abroad. Owing to limited public information, no further publishing features are elaborated here.
Contents
- 版权信息
- 作者简介
- 内容简介
- 前言
- 致谢
- 本书使用说明
- 第1章 绪论
- 1.1 计算机程序语言层级结构
- 1.2 人机系统结构
- 1.3 Python简介
- 1.4 计算机发展简史
- 1.5 小结
- 1.6 课后思考与练习
- 第2章 编程环境
- 2.1 理论模型解释
- 2.2 Python编程环境配置
- 2.3 IDLE编辑器使用简介
- 2.4 课后思考与练习
- 第3章 数据类型
- 3.1 数值类型的计算机表示原理及其语法基础
- 3.2 字符串类型的计算机表示原理及其语法基础
- 3.3 布尔类型的语法基础
- 3.4 元组型的语法基础
- 3.5 列表型的语法基础
- 3.6 字典的语法基础
- 3.7 集合型的语法基础
- 3.8 课后思考与练习
- 第4章 变量与计算
- 4.1 变量的含义
- 4.2 变量的动态属性
- 4.3 变量的命名
- 4.4 与变量相关的简单函数
- 4.5 运算符和表达式
- 4.6 课后思考与练习
- 第5章 流程控制
- 5.1 条件分支
- 5.2 循环
- 5.3 课后思考与练习
- 第6章 错误与错误处理
- 6.1 语法错误
- 6.2 异常错误
- 6.3 错误处理
- 6.4 调试模式
- 6.5 课后思考与练习
- 第7章 函数
- 7.1 函数的定义与调用
- 7.2 变量作用域、参数传递与参数类型
- 7.3 内建函数
- 7.4 课后思考与练习
- 第8章 面向对象的程序设计
- 8.1 类的简单定义和实例化
- 8.2 构造函数与析构函数
- 8.3 类的成员
- 8.4 类的继承
- 8.5 多态
- 8.6 运算符重载
- 8.7 小结
- 8.8 课后思考与练习
- 第9章 模块
- 9.1 模块的引用
- 9.2 模块的部署位置及搜索顺序
- 9.3 自定义模块
- 9.4 第三方模块的管理
- 9.5 常用内建模块
- 9.6 课后思考与练习
- 第10章 文件操作
- 10.1 文件系统简介
- 10.2 文件对象的基本操作
- 10.3 文件夹的基本操作
- 10.4 课后思考与练习
- 第11章 tkinter图形界面设计
- 11.1 窗口的创建
- 11.2 窗口内元素的布局
- 11.3 tkinter常用组件
- 11.4 tkinter.Canvas图形绘制组件
- 11.5 tkinter事件处理
- 11.6 图形界面设计综合范例
- 11.7 课后思考与练习
- 第12章 数据库与数据库连接操作
- 12.1 数据库管理系统、数据库和数据表
- 12.2 在本地部署MySQL数据库管理系统
- 12.3 数据库连接操作
- 12.4 课后思考与练习
FAQ
I have no programming background at all. Can I read this book directly?
Do I need to do all the code examples and exercises in the book hands-on?
What exactly does the book mean by cultivating modes of thinking?
Which Python application areas does the book cover after finishing it?
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
Public information about Wang Xiaowei is limited. Two works currently appear under this name, one in the field of foreign literature and the other in general computing. The first, The Old Man and the Sea, points to a Chinese translation or related compilation of Hemingway's classic novella, while Python Language Basics is an introductory programming book. The two works differ widely in subject matter, making it difficult to infer the author's professional background or personal experience. Based on the available information, Wang Xiaowei's work seems to span both literary translation and the popularization of computer technology, presenting a foreign literary classic to general readers while also providing beginners with foundational knowledge of Python. Owing to the lack of detailed biographical and editorial information, the author's writing style and specific contributions cannot yet be fully assessed; readers may form their own view from the actual content of these two works.