Python Programming for Absolute Beginners cover

Python Programming for Absolute Beginners

No rating yet
Word count
543K words
Chapters
40
ISBN
9787115519771

Tags

Summary

Most Python beginner books on the market are either too textbook-like or throw a list of syntax at you from the start. What makes this book valuable is that its instructional design really works like a course: the author, Ana Bell, is an MIT lecturer who teaches Introduction to Computer Science and Python Programming and has long worked with students who have no prior experience, so she knows exactly where beginners get stuck at the first step. The book is broken into 38 short lessons, each usually covering just one concept, so readers can immediately write a few lines of code to test what they have learned, keeping the learning burden small. More importantly, 7 comprehensive projects advance alongside the tutorial: after learning variables, readers build "hours to minutes"; after strings, a "name mashup"; after functions, "analyze your friends"; after dictionaries and lists, "document similarity"; and after object-oriented programming, a "card game." The projects are not decorations but the culmination of each part's knowledge, letting readers genuinely feel what they can do with what they have learned. The Chinese edition is a 16-format paperback with numerous illustrations, tip boxes, and end-of-lesson exercises; the appendices include full exercise answers and a Python quick reference, so self-learners need not worry about having no one to answer their questions. If you have never programmed before and want a book that is not anxiety-inducing and that you can follow step by step to the end, this one is very suitable.

Editor's review

市面上的 Python 入门书大多要么教材味太重,要么一上来就抛出语法清单。这本书的可贵之处在于它的“教学设计”真的像一门课:作者安娜·贝尔是 MIT 讲授“计算机科学导论与 Python 编程”的讲师,常年面对零基础学生,深知初学者在第一步会卡在哪里。 全书拆成 38 个短课,一节课通常只讲一个概念,读完就能立刻动手写几行代码验证,学习负担很小。更关键的是 7 个综合项目与教程交替推进——学完变量做“小时转分钟”,学完字符串做“名字混搭”,学完函数做“分析你的朋友”,学完字典和列表做“文档相似度”,学完面向对象做“纸牌游戏”。项目不是点缀,而是每部分知识的收束,读者能切实感受到“我学的这些东西可以拿来干什么”。 中文版保持 16 开平装,配有大量插图、提示框和课后练习,附录还附了全套练习答案与 Python 速查表,自学时不用担心没人答疑。如果你此前完全没接触过编程,想找一本不焦虑、能跟着一步步走完的书,这本很合适。

Who it's for

A good fit for

  • 完全没有编程经验、希望从零系统学习 Python 的初学者
  • 想了解编程思维、但害怕枯燥教材的自学读者
  • 需要一本可配套课程使用的入门教材的师生或培训机构学员
  • 有其他语言基础、想快速掌握 Python 语法与常用库的程序员

Not a good fit for

  • 希望直接学习 pandas、爬虫、深度学习等高级应用的读者
  • 已能熟练编写 Python 程序、想钻研性能优化与工程架构的进阶开发者

Reading tips

  1. 按章节顺序推进,务必亲手把每课示例代码敲一遍并运行,而不是只阅读
  2. 每个部分结尾的综合性项目不要跳过,它是检验本部分掌握程度的最好方式
  3. 遇到不懂的报错先看第 9 章与第 36 章的调试方法,再去附录 A 核对练习答案
  4. 读完第 38 章后,选一个小需求(如批量处理文件)独立实现,把速查表用起来

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. Part 1 Learning to Program
  2. Chapter 1 Why Learn to Program
  3. Chapter 2 Basic Principles of Learning a Programming Language
  4. Part 2 Variables, Types, Expressions, and Statements
  5. Chapter 3 Getting to Know Python: A Programming Language
  6. Chapter 4 Variables and Expressions: Naming and Assigning Things
  7. Chapter 5 Object Types and Code Statements
  8. Chapter 6 Comprehensive Project: Your First Python Program—Converting Hours to Minutes
  9. Part 3 Strings, Tuples, and User Interaction
  10. Chapter 7 Getting to Know String Objects: Sequences of Characters
  11. Chapter 8 Advanced String Operations
  12. Chapter 9 Simple Error Messages
  13. Chapter 10 Tuple Objects: Sequences of Arbitrary Objects
  14. Chapter 11 Interacting with Users
  15. Chapter 12 Comprehensive Project: Name Mashup
  16. Part 4 Making Choices in Programs
  17. Chapter 13 Getting to Know Choices in Programs
  18. Chapter 14 Making More Complex Choices
  19. Chapter 15 Comprehensive Project: Choose Your Own Adventure
  20. Part 5 Repeating Tasks
  21. Chapter 16 Repeating Tasks with Loops
  22. Chapter 17 Customizing Loops
  23. Chapter 18 Repeating While a Condition Holds
  24. Chapter 19 Comprehensive Project: Scrabble Art Edition
  25. Part 6 Organizing Code into Reusable Blocks
  26. Chapter 20 Building Programs for Long-Term Use
  27. Chapter 21 Modularization and Abstraction with Functions
  28. Chapter 22 Advanced Function Operations
  29. Chapter 23 Comprehensive Project: Analyze Your Friends
  30. Part 7 Handling Mutable Data Types
  31. Chapter 24 Mutable and Immutable Objects
  32. Chapter 25 Using Lists
  33. Chapter 26 Advanced List Operations
  34. Chapter 27 Dictionaries: Mappings Between Objects
  35. Chapter 28 Aliasing and Copying Lists and Dictionaries
  36. Chapter 29 Comprehensive Project: Document Similarity
  37. Part 8 Creating Your Own Object Types with Object-Oriented Programming
  38. Chapter 30 Creating Your Own Object Types
  39. Chapter 31 Creating Classes for Object Types
  40. Chapter 32 Using Your Own Object Types

FAQ

这本书的英文原名叫什么?
原书是 Ana Bell 所著《Get Programming: Learn to Code with Python》,由 Manning 出版社于 2018 年出版,中文版由徐波翻译,人民邮电出版社 2023 年推出。
完全没接触过编程能看懂吗?
可以。本书面向没有任何编程经验的读者,第 1 部分专门讲学习编程的意义和方法,之后从变量、表达式这些最基本的概念讲起,节奏缓慢、练习密集。
书中使用 Python 3 还是 Python 2?
本书讲授的是 Python 3 的语法与用法。由于原书出版于 2018 年,个别库的版本细节可能与当前最新版略有差异,建议按官方文档安装较新的 Python 3 版本练习。
作者是谁,为什么值得信任?
安娜·贝尔(Ana Bell)是麻省理工学院电子工程与计算机科学系讲师,长期讲授面向零基础学生的“计算机科学导论与 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.

Top rated in the same category