Book Description
Summary
Get Programming: Learn to code with Python introduces you to the world of writing computer programs without drowning you in confusing jargon or theory that make getting started harder than it should be. Filled with practical examples and step-by-step lessons using the easy-on-the-brain Python language, this book will get you programming in no time!
This book works perfectly alongside our video course Get Programming with Python in Motion, available exclusively at Manning.com: www.manning.com/livevideo/get-programming-with-python-in-motion
Purchase of the print book includes a free eBook in PDF, Kindle, and ePub formats from Manning Publications.
About the Technology
Let’s face it. The only way to learn computer programming is to do it. Whether you want to skill up for your next job interview or just get a few pet projects done, programming can be an amazing tool. This book is designed especially for beginners, helping them learn to program hands on, step by step, project by project. It’s time to get programming!
About the Book
Get Programming: Learn to code with Python teaches you the basics of computer programming using the Python language. In this exercise-driven book, you’ll be doing something on nearly every page as you work through 38 compact lessons and 7 engaging capstone projects. By exploring the crystal-clear illustrations, exercises that check your understanding as you go, and tips for what to try next, you’ll start thinking like a programmer in no time.
What’s Inside
- Programming skills you can use in any language
- Learn to code—no experience required
- Learn Python, the language for beginners
- Dozens of exercises and examples help you learn by doing
About the Reader
No prior programming experience needed..
About the Author
Ana Bell is an MIT lecturer and scientist who teaches the popular course, Introduction to Computer Science and Programming Using Python.
Table of Contents
LEARNING HOW TO PROGRAM
Lesson 1 – Why should you learn how to program?
Lesson 2 – Basic principles of learning a programming language
UNIT 1 – VARIABLES, TYPES, EXPRESSIONS, AND STATEMENTS
Lesson 3 – Introducing Python: a programming language
Lesson 4 – Variables and expressions: giving names and values to things
Lesson 5 – Object types and statements of code 46
Lesson 6 – Capstone project: your first Python program-convert hours to minutes
UNIT 2 – STRINGS, TUPLES, AND INTERACTING WITH THE USER
Lesson 7 – Introducing string objects: sequences of characters
Lesson 8 – Advanced string operations
Lesson 9 – Simple error messages
Lesson 10 – Tuple objects: sequences of any kind of object
Lesson 11 – Interacting with the user
Lesson 12 – Capstone project: name mashup
UNIT 3 – MAKING DECISIONS IN YOUR PROGRAMS
Lesson 13 – Introducing decisions in programs
Lesson 14 – Making more-complicated decisions
Lesson 15 – Capstone project: choose your own adventure
UNIT 4 – REPEATING TASKS
Lesson 16 – Repeating tasks with loops
Lesson 17 – Customizing loops
Lesson 18 – Repeating tasks while conditions hold
Lesson 19 – Capstone project: Scrabble, Art Edition
UNIT 5 – ORGANIZING YOUR CODE INTO REUSABLE BLOCKS
Lesson 20 – Building programs to last
Lesson 21 – Achieving modularity and abstraction with functions
Lesson 22 – Advanced operations with functions
Lesson 23 – Capstone project: analyze your friends
UNIT 6 – WORKING WITH MUTABLE DATA TYPES
Lesson 24 – Mutable and immutable objects
Lesson 25 – Working with lists
Lesson 26 – Advanced operations with lists
Lesson 27 – Dictionaries as maps between objects
Lesson 28 – Aliasing and copying lists and dictionaries
Lesson 29 – Capstone project: document similarity
UNIT 7 – MAKING YOUR OWN OBJECT TYPES BY USING OBJECT-ORIENTED PROGRAMMING
Lesson 30 – Making your own object types
Lesson 31 – Creating a class for an object type
Lesson 32 – Working with your own object types
Lesson 33 – Customizing classes
Lesson 34 – Capstone project: card game
UNIT 8 – USING LIBRARIES TO ENHANCE YOUR PROGRAMS
Lesson 35 – Useful libraries
Lesson 36 – Testing and debugging your programs
Lesson 37 – A library for graphical user interfaces
Lesson 38 – Capstone project: game of tag
Appendix A – Answers to lesson exercises
Appendix B – Python cheat sheet
Appendix C – Interesting Python libraries
中文:
书名:Get Programming: Learn to code with Python
Summary
掌握编程:学习使用Python编写代码 向您介绍编写计算机程序的世界,而不会让您淹没在令人困惑的术语或理论中,这些术语或理论会使入门变得比应有的更难。这本书充满了使用简单易懂的Python语言的实际例子和循序渐进的课程,这本书将很快让你学会编程!
This book works perfectly alongside our video course Get Programming with Python in Motion,仅在Manning.com上提供:www.manning.com/livevideo/get-programming-with-python-in-motion
购买纸质书包括从Manning Publications购买PDF、Kindle和ePub格式的免费电子书。
关于技术
让我们面对现实吧。学习计算机编程的唯一方法就是动手。无论你是想为下一次工作面试提高技能,还是只想完成几个自己喜欢的项目,编程都可以是一个令人惊叹的工具。这本书是专门为初学者设计的,帮助他们学习动手编程,一步一步,一个项目一个项目地。现在是开始编程的时候了!
About the Book
掌握编程:学习使用Python编写代码 教您使用Python语言进行计算机编程的基础知识。在这本以练习为导向的书中,你将几乎在每一页上做一些事情,因为你正在学习38节紧凑的课程和7个引人入胜的顶峰项目。通过浏览清晰的插图、检查您理解情况的练习以及下一步尝试的提示,您很快就会开始像程序员一样思考。
里面有什么?
- 可以在任何语言中使用的编程技能
- Learn to code—no experience required
- Learn Python, the language for beginners
- 数十个练习和例子帮助你在实践中学习
关于《读者》
No prior programming experience needed..
关于作者
Ana Bell 是麻省理工学院的讲师和科学家,教授热门课程《计算机科学入门》和《使用Python编程》。
目录表
LEARNING HOW TO PROGRAM
第一课为什么你要学习如何编程?
Lesson 2 – Basic principles of learning a programming language
第1单元变量、类型、表达式和语句
第3课–;Python简介:编程语言
第4课变量和表达式:为事物指定名称和值
第5课–;对象类型和代码语句46
第六课Capstone项目:您的第一个Python程序–将小时转换为分钟
单元2字符串、TUPLES和与用户交互
Lesson 7 – Introducing string objects: sequences of characters
第8课&8211;高级字符串运算
Lesson 9 – Simple error messages
第10课元组对象:任意类型对象的序列
第11课:与用户交互
第12课–;Capstone项目:名称混搭
在你的计划中做决定
Lesson 13 – Introducing decisions in programs
第14课–做出更复杂的决定
第15课:Capstone项目:选择自己的冒险
UNIT 4 – REPEATING TASKS
第16课–;循环重复任务
Lesson 17 – Customizing loops
在条件允许的情况下重复任务
第19课和#8211;顶石项目:拼字游戏,艺术版
单元5&;将代码组织成可重用的块
第20课打造持久发展的计划
Lesson 21 – Achieving modularity and abstraction with functions
Lesson 22 – Advanced operations with functions
Lesson 23 – Capstone project: analyze your friends
单元6&;使用可变数据类型
第24课–;可变和不可变对象
Lesson 25 – Working with lists
第26课–;使用列表的高级操作
作为对象之间的映射的词典
第28课和第8211课:为列表和词典添加别名和复制
第29课–;Capstone项目:文档相似性
单元7使用面向对象编程制作您自己的对象类型
第30课创建您自己的对象类型
第31课为对象类型创建类
第32课使用您自己的对象类型
Lesson 33 – Customizing classes
第34课和第8211课;Capstone项目:纸牌游戏
单元8使用库来增强你的程序
Lesson 35 – Useful libraries
测试和调试您的程序
第37课–;图形用户界面库
第38课–;Capstone项目:标签游戏
附录A&8211;课文练习答案
Appendix B – Python cheat sheet
附录C–;有趣的Python库
评论前必须登录!
注册