没有合适的资源?快使用搜索试试~ 我知道了~
首页Think Python-英文版.pdf
Think Python-英文版.pdf
需积分: 9 138 浏览量
更新于2023-05-27
评论
收藏 875KB PDF 举报
学习python的好书,更加深入的理解python,英语不好不要担心,按照实例来,英语好的,更好,更加深入的理解.
资源详情
资源评论
资源推荐

Think Python
How to Think Like a Computer Scientist
Version 2.0.1
June 2012


Think Python
How to Think Like a Computer Scientist
Version 2.0.1
June 2012
Allen Downey
Green Tea Press
Needham, Massachusetts

Copyright © 2012 Allen Downey.
Green Tea Press
9 Washburn Ave
Needham MA 02492
Permission is granted to copy, distribute, and/or modify this document under the terms of the
Creative Commons Attribution-NonCommercial 3.0 Unported License, which is available at
http:
//creativecommons.org/licenses/by-nc/3.0/
.
The original form of this book is L
A
T
E
X source code. Compiling this L
A
T
E
X source has the effect of gen-
erating a device-independent representation of a textbook, which can be converted to other formats
and printed.
The L
A
T
E
X source for this book is available from
http://www.thinkpython.com

Preface
The strange history of this book
In January 1999 I was preparing to teach an introductory programming class in Java. I had
taught it three times and I was getting frustrated. The failure rate in the class was too high
and, even for students who succeeded, the overall level of achievement was too low.
One of the problems I saw was the books. They were too big, with too much unnecessary
detail about Java, and not enough high-level guidance about how to program. And they all
suffered from the trap door effect: they would start out easy, proceed gradually, and then
somewhere around Chapter 5 the bottom would fall out. The students would get too much
new material, too fast, and I would spend the rest of the semester picking up the pieces.
Two weeks before the first day of classes, I decided to write my own book. My goals were:
• Keep it short. It is better for students to read 10 pages than not read 50 pages.
• Be careful with vocabulary. I tried to minimize the jargon and define each term at
first use.
• Build gradually. To avoid trap doors, I took the most difficult topics and split them
into a series of small steps.
• Focus on programming, not the programming language. I included the minimum
useful subset of Java and left out the rest.
I needed a title, so on a whim I chose How to Think Like a Computer Scientist.
My first version was rough, but it worked. Students did the reading, and they understood
enough that I could spend class time on the hard topics, the interesting topics and (most
important) letting the students practice.
I released the book under the GNU Free Documentation License, which allows users to
copy, modify, and distribute the book.
What happened next is the cool part. Jeff Elkner, a high school teacher in Virginia, adopted
my book and translated it into Python. He sent me a copy of his translation, and I had the
unusual experience of learning Python by reading my own book. As Green Tea Press, I
published the first Python version in 2001.
In 2003 I started teaching at Olin College and I got to teach Python for the first time. The
contrast with Java was striking. Students struggled less, learned more, worked on more
interesting projects, and generally had a lot more fun.
剩余239页未读,继续阅读
















liukai6
- 粉丝: 86
- 资源: 14
上传资源 快速赚钱
我的内容管理 收起
我的资源 快来上传第一个资源
我的收益
登录查看自己的收益我的积分 登录查看自己的积分
我的C币 登录后查看C币余额
我的收藏
我的下载
下载帮助

会员权益专享
安全验证
文档复制为VIP权益,开通VIP直接复制

评论0