Python Programming Basics
Tags
Summary
Editor's review
Who it's for
A good fit for
- Programming beginners with zero foundation who want a systematic introduction to Python
- Students who need a textbook to accompany coursework
- Professionals transitioning into data analysis or automation work
- Junior developers who want to consolidate the finer details of Python syntax
Not a good fit for
- Experienced senior developers seeking advanced techniques
- Readers who want to quickly master a specific library (such as TensorFlow)
Reading tips
- Read the chapters in order and do not skip the basic syntax sections
- Be sure to practice the code examples in the book hands-on; understanding matters more than memorization
- When working on exercises, think independently first, then check the reference answers
About the publisher
Posts & Telecom Press is known for its strengths in science and technology, computing, and information and communications titles, and has extended its publishing into photography, art, software learning, and inspirational growth, giving it a fairly diverse range. Its catalog includes computing and communications works such as Refactoring and Patterns (Revised Edition) and Huawei Switch Learning Guide (Second Edition), alongside bilingual collector's editions such as The Little Prince (Chinese-English-French illustrated collector's edition), The Great Gatsby, and Three Days to See. Beijing Ten Years: 1980-1990 and Ghost Blade: WLOP Personal Illustration Collection reflect its presence in photography and art. Its authors include Antoine de Saint-Exupéry, Helen Keller, Joshua Kerievsky, Wang Da, Zhang Zhaozeng, and WLOP.
Contents
- 版权信息
- 内容提要
- 大数据专业系列图书编写委员会
- 序
- 前言
- 第1章 准备工作
- 任务1.1 认识Python
- 任务1.2 搭建Python环境
- 任务1.3 安装PyCharm并创建一个应声虫程序
- 小结
- 实训 输入/输出
- 课后习题
- 第2章 Python基础知识
- 任务2.1 掌握Python的固定语法
- 任务2.2 创建字符串变量并提取里面的数值
- 任务2.3 计算圆形的各参数
- 小结
- 实训
- 课后习题
- 第3章 Python数据结构
- 任务3.1 认识Python数据结构的组成
- 任务3.2 创建一个列表(list)并进行增删改查操作
- 任务3.3 转换一个列表为元组(tuple)并进行取值操作
- 任务3.4 创建一个字典(dict)并进行增删改查操作
- 任务3.5 将两个列表转换为集合(set)并进行集合运算
- 小结
- 实训
- 课后习题
- 第4章 程序流程控制语句
- 任务4.1 实现考试成绩等级划分
- 任务4.2 实现一组数的连加与连乘
- 任务4.3 使用冒泡排序法排序
- 任务4.4 输出数字金字塔
- 小结
- 实训
- 课后习题
- 第5章 函数
- 任务5.1 自定义函数实现方差输出
- 任务5.2 使用匿名函数添加列表元素
- 任务5.3 存储并导入函数模块
- 小结
- 实训
- 课后习题
- 第6章 面向对象编程
- 任务6.1 认识面向对象编程
- 任务6.2 创建Car类
- 任务6.3 创建Car对象
- 任务6.4 迭代Car对象
- 任务6.5 产生Land_Rover对象(子类)
- 小结
- 实训
- 课后习题
- 第7章 文件基础
- 任务7.1 认识文件
- 任务7.2 读取.txt文件中的数据
- 任务7.3 保存数据为CSV格式文件
- 任务7.4 认识os模块及shutil模块
- 小结
- 实训
- 课后习题
FAQ
Is this book suitable for someone who has never programmed before?
Does the book use Python 2 or Python 3?
What level can I reach after finishing this book?
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 Zhang Jian is limited, yet the works under this name span two broad fields: literary studies and medicine. In literature, the author has produced Knowledge and Lyricism: Studies in Song Dynasty Poetics and Studies in Qing Dynasty Poetics (Revised Edition), both in a literary history research series, focusing on the intellectual context and lyrical tradition of classical poetics and showing a solid scholarly orientation. Related works include material connected with A Tale of Two Cities, touching on foreign literature and literary appreciation. In medicine, the author has contributed to several volumes of the Cardiology Practice series, covering cardiovascular disease prevention, hypertension and metabolic diseases, valvular heart disease and pulmonary vascular disease, arrhythmia, and cardiomyopathy and heart failure, with content close to clinical practice. The library holds twenty-one works in total, classified under foreign literature, literary appreciation, medicine, and design, suggesting writing that is both specialized and accessible. In the absence of biographical details, no speculation is offered here.
Zhang Liangjun is a Chinese author of books on computing and data analysis. Public information about him is limited, and his biography, nationality, and educational background remain unclear. Judging from the seven titles held in the collection, his writing centers on two areas: programming design and data processing. His works range from introductory programming topics such as Python and R to practical content on Excel data acquisition, processing, and analysis, as well as Power BI data analysis and visualization. Aimed at beginners and everyday office application scenarios, the books combine tool operations with examples and emphasize a gradual path from basic syntax to practical analysis, while also serving exam and teaching needs. These titles fall under categories including programming design, general computing, and examinations, and are suitable for Chinese readers who wish to systematically learn data analysis tools and programming fundamentals.