发表于2025-03-03
By day, Mark Pilgrim is a developer advocate for open source and open standards. By night, he is a husband and father who lives in North Carolina with his wife, his two sons, and his big slobbery dog. He spends his copious free time sunbathing, skydiving, and making up autobiographical information.
Mark Pilgrim's Dive Into Python 3 is a hands-on guide to Python 3 (the latest version of the Python language) and its differences from Python 2. As in the original book, Dive Into Python, each chapter starts with a real, complete code sample, proceeds to pick it apart and explain the pieces, and then puts it all back together in a summary at the end.
This book includes:
* Example programs completely rewritten to illustrate powerful new concepts now available in Python 3: sets, iterators, generators, closures, comprehensions, and much more
* A detailed case study of porting a major library from Python 2 to Python 3
* A comprehensive appendix of all the syntactic and semantic changes in Python 3
This is the perfect resource for you if you need to port applications to Python 3, or if you like to jump into languages fast and get going right away.
What you'll learn
* Understand Python 3 code by seeing it broken down and explained
* Make full use of the latest Python features such as iterators, generators, closures, classes and comprehensions
* Refactor existing code to improve maintainability
* Learn how to serialize Python objects with the pickle protocol and JSON format
* Learn how to package your own Python libraries and upload them to the Python Package Index to share your projects with Python developers worldwide
* Use Python 3 to consume HTTP web services
* Port existing Python applications to Python 3 by following a case study for a major library
Who is this book for?
* Anyone who wants to learn the latest version of Python in a fast, hands-on fashion
* Existing Python programmers who want to learn quickly how to make the most of the features of the latest version of Python and port their code to it
* Programmers coming from other languages wanting a fast introduction to Python that gets them thinking about advanced concepts quickly
Dive Into Python 3 下载 mobi pdf epub txt 电子书 格式 2025
Dive Into Python 3 下载 mobi epub pdf 电子书##看了中文版= =
评分##作者infosuicide了。他的文风很特别。
评分 评分 评分 评分##很好的python入门书。内容可能略不适合完全的编程新手。并不是循序渐进的介绍语法,每一章都通过有趣的例子介绍语法,语法篇幅很少,有些许面向对象的经验有助于理解。例子有趣而实用,比如字符串机制的设定,罗马数字的组成规律,在正则表达式介绍了作者以前的一项工作:parse phone number。属于有趣的入门书。这种风格,和c programming language并列,属于很好的入门书写法。
评分 评分##重新翻看这本书,我真的认为它不是一个很好的入门选择,但是本入门后值得读的书。
评分Dive Into Python 3 mobi epub pdf txt 电子书 格式下载 2025