多应用+插件架构,代码干净,二开方便,首家独创一键云编译技术,文档视频完善,免费商用码云13.8K 广告
# Think Python > 2nd Edition > by Allen B. Downey > 翻译 大胖哥 This is a very classical book for newbies of programing. There are some versions of translation. But I still think that we can do it by ourselves. > 这是一本很经典的编程入门书籍。网上有过一些翻译,不过我觉得咱们还是自己来一下比较好! This is the second edition of Think Python. It uses Python 3, with notes on differences in Python 2. If you are using Python 2, you might want to use [the first edition](http://www.greenteapress.com/thinkpython/index.html). > 这是Think Python这本书的第二版,本次使用的是Python3,与Python2有很多不同,这些不同之处会有标注。如果你用Python2的货,还是建议你去阅读[上一个版本](http://www.greenteapress.com/thinkpython/index.html)。 Buy the first edition at [Amazon.com ](http://amzn.to/Owtmjy) > 到[亚马逊](http://amzn.to/Owtmjy)购买本书 Download Think Python 2e in [PDF](http://www.greenteapress.com/thinkpython2/thinkpython2.pdf). > 下载 Think Python 2e [PDF格式的电子版.](http://www.greenteapress.com/thinkpython2/thinkpython2.pdf) Read Think Python 2e in [HTML](http://www.greenteapress.com/thinkpython2/html/index.html). > 在线阅读 Think Python 2e [HTML网页版本](http://www.greenteapress.com/thinkpython2/html/index.html)(推荐这个,都是文字格式,更方便). Example programs and solutions to some problems are [here](http://www.greenteapress.com/thinkpython2/code) (links to specific examples are in the book). > 样例代码以及其他问题的解决可以到[这里](http://www.greenteapress.com/thinkpython2/code)找(具体样例的链接在书中就有)。 ## Description 说明 Think Python is an introduction to Python programming for beginners. > Think Python 这本书是面向初学者介绍Python编程。 It starts with basic concepts of programming, and is carefully designed to define all terms when they are first used and to develop each new concept in a logical progression. > 首先介绍的是一些编程的基本内容,给出概念和解释,然后循序渐进地深入讲解每个概念。 Larger pieces, like recursion and object-oriented programming are divided into a sequence of smaller steps and introduced over the course of several chapters. > 复杂的部分,比如递归以及面向对象编程,这些都分成一个个小块,以多个章节的方式来逐步介绍。 ## What's new in the second edition? > 第二版有啥新东西呢? * We've upgraded to Python 3: All examples in the book are now Python 3, and the supporting code has been updated to run in both Python 2 and 3. > 开始用Python3了:书里面所有样例都用Python3来实现,参考代码也都做了升级,用Python2或者3都能运行。 * We've removed the roadblocks: Based on reader feedback, we know where people had problems, so we've fixed or removed the pain points. > 去掉了一些比较难的内容:基于读者反馈,我们认识到大家存在某些困难,所以就调整或者去掉了一些难点。 * Python in the browser: For beginners, one of the challenges of getting started is installing Python. For readers who don't want to install Python right away, we provide instructions for running Python in a browser using PythonAnywhere, a free online programming environment. > 浏览器内能Python编程了:初学者遇到的第一个困难就是安装Python。另外有的读者可能不想去直接就安装Python,我们就提供了一个用浏览器来运行Python的简介:使用PythonAnywhere,一个免费的在线Python编程环境。(译者注:中国用户以考虑试试fenby.com,也有类似的实现,还有视频的介绍。) * More Python goodies: We've added a chapter to cover some powerful Python features that didn't make it into the first edition, including list comprehensions and additional data structures. > 更多Python彩蛋:单独加了一章,来介绍一些第一版中没有提及的Python功能,比如列表解析和附加的数据结构。 Think Python 2e is a Free Book. > 这本书是一本自-和谐-由的书。 It is available under the [Creative Commons Attribution-NonCommercial 3.0 Unported License](http://creativecommons.org/licenses/by-nc/3.0/), which means that you are free to copy, distribute, and modify it, as long as you attribute the work and don't use it for commercial purposes. > 本书遵循[创作共用署名-非商业性使用-第三版协议](http://creativecommons.org/licenses/by-nc/3.0/),这意味着你可以自-和谐-由地复制、分发和修改他,只要你有所贡献,并且不用于商业目的,就可以。 If you have comments, corrections or suggestions, please send me email at feedback{at}thinkpython{dot}com. > 如果你有一些评论、修正或者建议,可以发邮件给feedback@thinkpython.com Other Free Books by Allen Downey are available from [Green Tea Press](http://greenteapress.com/). > 其他由 Allen Downey 编写的自-和谐-由书籍都可以在[Green Tea Press](http://greenteapress.com/)找到. ## Download 下载 * Precompiled copies of the book are available in [PDF](http://www.greenteapress.com/thinkpython2/thinkpython2.pdf). > 编译好的PDF版本在这里下载:[PDF](http://www.greenteapress.com/thinkpython2/thinkpython2.pdf)。 * The LaTeX source code is available from [this GitHub repository](https://github.com/AllenDowney/ThinkPython2). > LaTeX代码在GitHub这里可以下载:[this GitHub repository](https://github.com/AllenDowney/ThinkPython2). * Here is the HTML version, and here is the HTML code in a zip archive. > 网页在线阅读 HTML version, 这些网页打包下载 HTML code ,这是一个zip格式的压缩包。 ## Earlier Versions > 早期版本 The first edition is [here](http://www.greenteapress.com/thinkpython). > 第一版在[这里](http://www.greenteapress.com/thinkpython) A previous edition of this book was published by Cambridge University press with the title Python for Software Design. This edition is available from Amazon.com. > 本书的上一个版本是由剑桥大学出版社出版的,标题是 Python for Software Design. 可以到亚马逊去买到哈。 The original Python version of the book was published by Green Tea Press with the title How to Think Like a Computer Scientist: Learning with Python. This edition is available from from Lulu.com. > 本书的原始版本由Green Tea Press 出版,标题为 How to Think Like a Computer Scientist: Learning with Python. 这个版本可以从这个网站找到 Lulu.com. Other Free Books by Allen Downey are available from Green Tea Press. > 其他由 Allen Downey 编写的自-和谐-由书籍都可以在Green Tea Press找到.