《Python 技术手册》封面

Python 技术手册

Python in a Nutshell

Alex Martelli、Anna Ravenscroft、Steve Holden · 初版 2002 年

9人推荐
17位读者提及
23次提及

为什么值得读

  • 内容严谨精确,常读常新加深理解
  • 行文极其精炼,不堆砌新手冗余说明
  • 指出了从其他语言转来可能踩坑的细节

xiv, 753页;23厘米

Hacker News 上怎么说

  • ……重写 ActiveState 那边类似于 CPAN 的东西,等测试稳健了且确定没重复造轮子就提交回去 http://aspn.activestate.com/ASPN/Cookbook/Python 还有,哦对,O'Reilly 出的 Martelli 写的《Python 技术手册》(Python in a Nutshell)。涵盖 2.4,看 PEP 了解 2.5 和 2.6 的新特性。另外,Matz 在 O'Reilly 上写的那本原版 Ruby 精简手册,讲 1.6 的薄薄的那本。虽然有点过时,但它也很小……

    …rewrite something from the activestate's CPAN-loose equivalent, submit it back when it's tested robust and you know it's not a dup http://aspn.activestate.com/ASPN/Cookbook/Python and, oh yea, Martelli's Python in a Nutshell from Oreilly. Covers 2.4, read the PEPs to see what's new in 2.5 and 2.6. Also, Matz's original ruby nutshell on Oreilly, the little one that covers 1.6. It's little outdated, but it's also a small…

  • O'Reilly Media 出版的《Python in a Nutshell》,Alex Martelli 著 http://oreilly.com/catalog/9780596100469/ 绝对推荐用来快速且实用性地学习 Python。它是最全面、最实用的 Python 参考书……

    Python in a Nutshell, O'Reilly Media, written by Alex Martelli http://oreilly.com/catalog/9780596100469/ Definitely recommended for learning Python fast&practically. It's the most comprehensive and useful Python reference…

  • Martelli 的《Python in a Nutshell》是我见过讲 Python 最棒的书了。不是 cookbook,更偏参考书,但这哥们极其严谨,每次重读都能加深我对 Python 的理解。

    Martelli's Python in a nutshell is the best I have seen on python. Not a cookbook, more of a reference, but this guy is extremely precise and rereading is always deepening my understanding of python.

  • ……学习指南 http://www-inst.eecs.berkeley.edu/~selfpace/cs9honline/ 作为 Python 和泛编程入门反馈很好,而我自己主要是靠 Alex Martelli 的书(《Python in a Nutshell》和《Python Cookbook》)

    …study guides http://www-inst.eecs.berkeley.edu/~selfpace/cs9honline/ to good feedback for an introduction to python and programming in general, while myself mostly relying on the books by Alex Martelli (Python in a Nutshell and Python Cookbook)

  • 我推荐 Alex Martelli 写的《Python in a Nutshell》第二版。写得非常简练,没有新手废话,而且确实指出了某些可能会让 Java 和其他语言背景的人感到惊讶的细节。是一本很好的 Python 库……

    I recommend Python in a Nutshell, 2nd Edition by Alex Martelli. It is very concise, without the newbie stuff, and does point out some specifics that might surprise someone coming from Java and other languages. It's a good Python library…

  • ……而是稍微展开一点。Python 里有指定类型的捕获(typed catches),在我看来这非常合理:你只捕获你想捕获的异常,其他的让它往上冒泡。这在 Martelli 的《Python in a Nutshell》里讲得很透彻。我看过 Java 和 Javascript 里的 try/catch 结构,可能可读性差一些,而且确实容易被滥用,但在 Python 里,遇到所有异常情况都返回 None 真的很烦人,而且完全不同……

    …expand a bit instead. In python there are typed catches, it seems to make a lot of sense to me: you catch only the exceptions you want, and let the other ones bubble up. It is well explained in Martelli's Python in a Nutshell. I have seen try/catch construct in Java and Javascript, and it is probably less readable, and certainly can be over-used, but in Python, returning None in all exceptional cases is annoying, different…

正在加载完整评论……

键盘快捷键

/
聚焦搜索框
j / k
下一本 / 上一本
Enter
打开选中的书
Esc
关闭 / 返回
g h
回到首页
g b
值得读精选
g t
历史总榜
g r
上升最快
g l
我的书架
?
显示本帮助