python
Dive Into Python 3
Douban Goodreads
★ 8.3 6 ratings
Mark Pilgrim publishing house: Apress 2009 - 11
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
Python Cookbook 中文版(第3版)
Python Cookbook (3/e) Douban
★ 9.2 5 ratings
David M. Beazley / Brian K. Jones translator: 陈舸 publishing house: 人民邮电出版社 2015 - 5
《Python Cookbook(第3版)中文版》介绍了Python应用在各个领域中的一些使用技巧和方法,其主题涵盖了数据结构和算法,字符串和文本,数字、日期和时间,迭代器和生成器,文件和I/O,数据编码与处理,函数,类与对象,元编程,模块和包,网络和Web编程,并发,实用脚本和系统管理,测试、调试以及异常,C语言扩展等。 本书覆盖了Python应用中的很多常见问题,并提出了通用的解决方案。书中包含了大量实用的编程技巧和示例代码,并在Python 3.3环境下进行了测试,可以很方便地应用到实际项目中去。此外,《Python Cookbook(第3版)中文版》还详细讲解了解决方案是如何工作的,以及为什么能够工作。 《Python Cookbook(第3版)中文版》非常适合具有一定编程基础的Python程序员阅读参考。