Basic Tutorial on Python Programming cover

Basic Tutorial on Python Programming

Rating 3.2
Word count
48K words
Chapters
72
ISBN
9787115505514

Tags

Summary

Based on the Python syllabus of the National Computer Rank Examination, this book is organized into 10 chapters covering an overview of Python, basic syntax, program control structures, data structures, functions and modules, object-oriented programming, coding conventions, errors and exceptions, file operations, and Python third-party libraries.

Editor's review

Python Programming Fundamentals: A Beginner's Tutorial, published by Posts & Telecom Press, authored by Wang Shaofeng, ISBN 9787115505514, is an entry-level textbook for Python beginners covering core topics such as Python language fundamentals, data structures, functions, and file operations. Its distinguishing feature is the emphasis on combining practice with theory, using numerous examples and exercises to help readers consolidate what they learn. The author, Wang Shaofeng, has extensive experience in programming education, which makes the content arrangement better aligned with learners' cognitive patterns. From an editorial perspective, the book is suitable as a textbook for university computer-related majors or as a self-study reference; its structure is clear and explanations are detailed, making it especially suitable for zero-foundation readers learning Python systematically. However, for readers with some programming experience or those seeking advanced topics, the book may be somewhat basic. Overall, it is a solid introductory tutorial that lays a firm programming foundation for beginners.

Who it's for

A good fit for

  • Students majoring in computer science or related fields
  • Career changers or newcomers to the workplace planning to learn programming
  • Complete beginners interested in Python programming
  • Developers who need a systematic review of Python fundamentals

Not a good fit for

  • Readers who have already mastered Python and are seeking advanced topics
  • Practitioners who want to quickly master a specific framework or library

Reading tips

  1. Read the chapters in order and complete the exercises at the end of each chapter
  2. Practice with actual programming projects or small scripts to deepen understanding
  3. When encountering difficulties, refer to online resources or community discussions for supplementary learning

About the publisher

Posts & Telecom Press China · Founded in 1953

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. 版权信息
  2. 内容提要
  3. 前言
  4. 第1章 Python概述
  5. 1.1 Python语言简介
  6. 1.2 Python开发环境
  7. 1.3 Python其他开发环境
  8. 1.4 习题
  9. 第2章 语法基础
  10. 2.1 基本数据类型
  11. 2.2 运算符与表达式
  12. 2.3 习题
  13. 第3章 程序控制结构
  14. 3.1 海龟绘图模块
  15. 3.2 顺序结构
  16. 3.3 选择结构
  17. 3.4 循环结构
  18. 3.5 习题
  19. 第4章 数据结构
  20. 4.1 列表
  21. 4.2 元组
  22. 4.3 字典
  23. 4.4 集合
  24. 4.5 字符串
  25. 4.6 习题
  26. 第5章 函数与模块
  27. 5.1 函数定义与使用
  28. 5.2 函数的参数
  29. 5.3 函数的返回值
  30. 5.4 变量作用域
  31. 5.5 函数的嵌套
  32. 5.6 lambda表达式
  33. 5.7 常用内置函数
  34. 5.8 模块
  35. 5.9 习题
  36. 第6章 面向对象程序设计
  37. 6.1 面向对象程序设计
  38. 6.2 类的定义和实例化
  39. 6.3 数据成员与成员方法
  40. 6.4 属性
  41. 6.5 继承
  42. 6.6 多态
  43. 6.7 特殊方法和运算符重载
  44. 6.8 习题
  45. 第7章 编程规范
  46. 7.1 代码规范
  47. 7.2 注释规范
  48. 7.3 命名规范
  49. 7.4 习题
  50. 第8章 错误和异常
  51. 8.1 语法错误
  52. 8.2 异常
  53. 8.3 异常处理
  54. 8.4 抛出异常
  55. 8.5 用户自定义异常
  56. 8.6 定义清理行为
  57. 8.7 预定义清理行为
  58. 8.8 习题
  59. 第9章 文件操作
  60. 9.1 文件基础知识
  61. 9.2 文件基本操作
  62. 9.3 文件读写操作
  63. 9.4 文件与目录操作
  64. 9.5 数据维度
  65. 9.6 习题
  66. 第10章 Python第三方库
  67. 10.1 第三方库的安装
  68. 10.2 PyInstaller库
  69. 10.3 jieba库
  70. 10.4 wordcloud库
  71. 10.5 Python常用第三方库
  72. 10.6 习题

FAQ

Is this book suitable for someone with no programming experience at all?
Yes. The book is designed for zero-foundation readers, starting from the most basic syntax and concepts and progressing step by step.
Does the book include actual projects or cases?
The book contains numerous sample codes and exercises, but they are mainly for teaching purposes rather than a complete project development guide.
Is this edition up to date?
The current edition is written for Python 3. The content is fairly basic, but readers are advised to check the publication date to assess its timeliness.

Related on WeRead

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

王绍锋 Author

Wang Shaofeng is an author active in the field of computer education books, though publicly available information about him is limited, and details of his background, education, and professional positions have not been disclosed. Judging from the three works held in the collection, his writing focuses on introductory programming and university-level computer fundamentals, covering Python, Arduino, and general computer literacy. These titles include Python Programming Fundamentals, University Computer Fundamentals (2nd Edition), and Practical Arduino Programming Examples. The titles suggest that his books are aimed at beginners and college classrooms, emphasizing the explanation of basic concepts alongside hands-on examples, and they fall under the categories of examination preparation and comprehensive computer studies. Overall, Wang Shaofeng's editorial style tends toward textbook-oriented, practical material that guides readers from basic to more advanced programming and hardware skills, making his works suitable as introductory study aids and course companion references.

李淑英 Author

Li Shuying is a Chinese author of programming books. Public information about her is limited, and no clear record of her personal background, education, or professional positions is available. Judging from the two works included in the database, her writing focuses on introductory programming instruction. Her representative works are Python Programming Basics and JavaScript Programming Case Tutorial. These two books deal with Python and JavaScript, two commonly used languages, and fall under the categories of programming design and exam preparation. Her attention thus appears to be on combining syntax, program structure, and case-based exercises to help beginners develop basic programming thinking. Overall, her works tend toward textbook-style, case-based practical writing, emphasizing a step-by-step approach and hands-on practice, and are suitable for both classroom learning and self-study.

李涛 Author

Li Tao is an author whose works span a wide range of fields, with 27 titles held in the collection. The subjects he writes on are notably diverse: medical professional titles such as Clinical Psychopathology and the National County-Level Hospital Practical Handbook series volume Psychiatrist's Handbook, as well as clinical technical topics like Minimally Invasive Surgery for Diabetic Retinopathy; education and social issues in The Modernization of Chinese Rural Education; and practical tutorials on software and computing, including Adobe After Effects CC: The Master's Path. He has also written on science popularization and legal thinking, such as Perfect Symmetry: The Accidental Discovery of Fullerenes and 50 Lessons on Cultivating Citizens' Legal Thinking: Think Like a Lawyer, and contributed to applied writing such as the Technical Guidelines for Evaluating Healthy Enterprise Development. Because public information is limited, his personal biography, professional background, and identity remain unclear; from the distribution of his works, one can only see that he combines specialized writing with popular outreach, reaching readers in medicine, education, software, popular science, and law.

曹琳琳 Author

Cao Linlin: public information is limited, and only one work by this author is known, Python Programming Fundamentals Tutorial. Judging from the title and the common category “examinations,” the book is aimed at introductory Python teaching and exam preparation, and belongs to the field of basic computer textbooks. In writing, the author appears to focus on organizing fundamental knowledge in an orderly way and explaining key operations, striving to help beginners build programming thinking and prepare for relevant exams. Because biographical details, education, and professional positions are unavailable, no further background can be introduced. Based on the available clues, Cao Linlin’s writing centers on combining basic programming education with exam guidance; although the number of works is small, the subject is clear, and the book is suitable for readers who need to study Python fundamentals systematically or prepare for related examinations.

芦关山 Author

Public information about Lu Guanshan is limited, and his nationality, dates of birth and death, education, and professional positions cannot be confirmed. His writing can only be understood through the three works held in the library. From Python Programming Basics Tutorial and University Computer Basics Tutorial (2nd Edition) to Arduino Programming Practical Examples Tutorial, it is clear that he focuses on introductory computer education and beginners, covering general computer knowledge, a mainstream programming language, and hardware practice. His books generally follow a tutorial format, explaining concepts progressively and using examples to help readers practice. They are catalogued under computer science and examination categories. Because biographical information is lacking, his personal experience and academic background remain unknown; readers may treat his textbooks as practical introductions to computing and programming.

More by the same author

Top rated in the same category