Book Description
This book offers Python programmers one place to look when they need help remembering or deciphering the syntax of this open source language and its many powerful but scantily documented modules. This comprehensive reference guide makes it easy to look up the most frequently needed information–not just about the Python language itself, but also the most frequently used parts of the standard library and the most important third-party extensions.
Ask any Python aficionado and you’ll hear that Python programmers have it all: an elegant object-oriented language with readable and maintainable syntax, that allows for easy integration with components in C, C++, Java, or C#, and an enormous collection of precoded standard library and third-party extension modules. Moreover, Python is easy to learn, yet powerful enough to take on the most ambitious programming challenges. But what Python programmers used to lack is a concise and clear reference resource, with the appropriate measure of guidance in how best to use Python’s great power. Python in a Nutshell fills this need.
Python in a Nutshell, Second Edition covers more than the language itself; it also deals with the most frequently used parts of the standard library, and the most popular and important third party extensions. Revised and expanded for Python 2.5, this book now contains the gory details of Python’s new subprocess module and breaking news about Microsoft’s new IronPython project. Our “Nutshell” format fits Python perfectly by presenting the highlights of the most important modules and functions in its standard library, which cover over 90% of your practical programming needs. This book includes:
- A fast-paced tutorial on the syntax of the Python language
- An explanation of object-oriented programming in Python
- Coverage of iterators, generators, exceptions, modules, packages, strings, and regular expressions
- A quick reference for Python’s built-in types and functions and key modules
- Reference material on important third-party extensions, such as Numeric and Tkinter
- Information about extending and embedding Python
Python in a Nutshell provides a solid, no-nonsense quick reference to information that programmers rely on the most. This book will immediately earn its place in any Python programmer’s library.
Praise for the First Edition:
“In a nutshell, Python in a Nutshell serves one primary goal: to act as an immediately accessible goal for the Python language. True, you can get most of the same core information that is presented within the covers of this volume online, but this will invariably be broken into multiple files, and in all likelihood lacking the examples or the exact syntax description necessary to truly understand a command.”
–Richard Cobbett, Linux Format
“O’Reilly has several good books, of which Python in a Nutshell by Alex Martelli is probably the best for giving you some idea of what Python is about and how to do useful things with it.”
–Jerry Pournelle, Byte Magazine
中文:
书名:Python in a Nutshell, 2nd Edition
这本书为Python程序员提供了一个地方,当他们需要帮助记忆或破译这种开放源码语言的语法及其许多功能强大但文档很少的模块时,可以查看。这本全面的参考指南使您可以轻松地查找最常用的信息,不仅是关于Python语言本身,而且还包括标准库中最常用的部分和最重要的第三方扩展。
问问任何一位Python爱好者,你都会听到,Python程序员拥有一切:一种优雅的面向对象语言,具有可读和可维护的语法,允许与C、C++、Java或C#中的组件轻松集成,以及大量预编码的标准库和第三方扩展模块。此外,Python很容易学习,但功能强大,足以应对最雄心勃勃的编程挑战。但过去,Python程序员所缺乏的是一份简明明了的参考资料,以及关于如何最好地利用Python强大功能的适当指导。 一言以蔽之,巨蟒 fills this need.
一言以蔽之,巨蟒,第二版涵盖的不仅仅是语言本身;它还涉及标准库中最常用的部分,以及最流行和最重要的第三方扩展。这本书对Python2.5进行了修订和扩展,现在包含了Python子进程模块的血腥细节和关于微软新的IronPython项目的突发新闻。我们的格式非常适合Python,它展示了标准库中最重要的模块和函数的亮点,涵盖了90%以上的实际编程需求。本书包括:
- 这是一个关于Python语言语法的快速教程
- 浅谈Python中的面向对象编程
- 介绍迭代器、生成器、异常、模块、包、字符串和正则表达式
- 关于Python的内置类型、函数和关键模块的快速参考
- 有关重要的第三方扩展的参考材料,例如Numerical和Tkinter
- 有关扩展和嵌入Python的信息
一言以蔽之,巨蟒 提供对程序员最依赖的信息的可靠、严肃的快速参考。这本书将立即在任何一位Python程序员的库中占有一席之地。
对第一版的赞扬:
简而言之, 一言以蔽之,巨蟒 有一个主要目标:充当Python语言的一个可立即访问的目标。诚然,您可以在网上获得本书封面中提供的大部分核心信息,但这些信息将不可避免地被分解为多个文件,并且很可能缺乏真正理解命令所需的示例或准确的语法描述。
#8211;理查德·科贝特, Linux Format
赖利有几本好书,其中 一言以蔽之,巨蟒 亚历克斯·马尔泰利的书可能是最好的,它让你了解了Python是关于什么,以及如何用它做一些有用的事情。
曾傑瑞·普尔内尔, Byte Magazine
评论前必须登录!
注册