Think Python, 2nd Edition, - How to Think Like a Computer Scientist

Think Python, 2nd Edition, - How to Think Like a Computer Scientist

简介:

Think Python是面向没有编程经验的学生的Python编程入门。它从最基本的编程概念开始,经过精心设计,可以在首次使用时定义所有术语,并在逻辑上发展每个新概念。较大的部分,如递归和面向对象编程,分为一系列较小的步骤,并在几章的过程中介绍。

如果你想学习如何编程,使用Python是一个很好的开始。本动手指南一次一步地介绍该语言,从基本的编程概念开始,然后再介绍函数,递归,数据结构和面向对象的设计。此第二版及其支持代码已针对Python 3进行了更新。如果您使用的是Python 2,则可能需要使用第一版。第二版有什么新内容?

我们已经升级到Python 3: 本书中的所有示例现在都是Python 3,并且支持代码已经更新为在Python 2和3中运行。我们消除了障碍: 根据读者的反馈,我们知道人们在哪里遇到了问题,因此我们修复或消除了痛点。浏览器中的Python: 对于初学者来说,入门的挑战之一是安装Python。对于不想立即安装Python的读者,我们提供了使用PythonAnywhere (一个免费的在线编程环境) 在浏览器中运行Python的说明。更多Python的优点: 我们添加了一章来介绍一些强大的Python功能,这些功能在第一版中没有出现,包括列表推导和其他数据结构。

英文简介:

Think Python is an introduction to Python programming for students with no programming experience. It starts with the most 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.

If you want to learn how to program, working with Python is an excellent way to start. This hands-on guide takes you through the language a step at a time, beginning with basic programming concepts before moving on to functions, recursion, data structures, and object-oriented design. This second edition and its supporting code have been updated for Python 3.

If you are using Python 2, you might want to use The First Edition.

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.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.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.

书名
Think Python, 2nd Edition, - How to Think Like a Computer Scientist
译名
Think Python,第二版——如何像计算机科学家一样思考
语言
英语
年份
2015
页数
244页
大小
899.82 kB
标签
  • Python
  • 下载
    pdf iconThink Python, 2nd Edition, - How to Think Like a Computer Scientist.pdf
    密码
    65536

    最后更新:2025-04-12 23:54:38

    ←Learn Python the Right Way: How to Think like a Computer Scientist

    →Deep Learning with Python, Second Edition