出版社: O'Reilly Media
副标题: Powerful Object-Oriented Programming
出版年: 2009-10-9
页数: 1216
定价: USD 54.99
装帧: Paperback
ISBN: 9780596158064
内容简介 · · · · · ·
Amazon.com Review
The authors of Learning Python show you enough essentials of the Python scripting language to enable you to begin solving problems right away, then reveal more powerful aspects of the language one at a time. This approach is sure to appeal to programmers and system administrators who have urgent problems and a preference for learning by semi-guided experimenta...
Amazon.com Review
The authors of Learning Python show you enough essentials of the Python scripting language to enable you to begin solving problems right away, then reveal more powerful aspects of the language one at a time. This approach is sure to appeal to programmers and system administrators who have urgent problems and a preference for learning by semi-guided experimentation.
First off, Learning Python shows the relationships among Python scripts and their interpreter (in a mostly platform-neutral way). Then, the authors address the mechanics of the language itself, providing illustrations of how Python conceives of numbers, strings, and other objects as well as the operators you use to work with them. Dictionaries, lists, tuples, and other data structures specific to Python receive plenty of attention including complete examples.
Authors Mark Lutz and David Ascher build on that fundamental information in their discussions of functions and modules, which evolve into coverage of namespaces, classes, and the object-oriented aspects of Python programming. There's also information on creating graphical user interfaces (GUIs) for Python applications with Tkinter.
In addition to its careful expository prose, Learning Python includes exercises that both test your Python skills and help reveal more elusive truths about the language. --This text refers to an out of print or unavailable edition of this title.
Review
As a book for programmers who want to learn Python, it does a very good job. The coverage is informative and well order; making it easy to find what you're looking for. Overall, if you do some work with Python, you will benefit from owning this book. " - Sam Smith, news@UK, March "This book is a good example of Python culture, in the clarity of its text as much as in the quality of its code. Anyhone working their way through it will have a solid foundation upon which to explore Python's potential. Highly recommended." - Ivan Uemilianin, CVu, October 2004 --This text refers to the Paperback edition.
豆瓣成员常用的标签(共39个) · · · · · ·
喜欢读"Learning Python"的人也喜欢 · · · · · ·
书评 · · · · · · (共55条)
我来评论这本书
-
最有用的好评
-
最有用的中差评
适合 没有太多 编程开... 10/10有用
-
一只黑眼睛看着大千世界 (我要保持自己的长名字……)
Table P-1. Extensions in Python 2.6 and 3.0 The print function in 3.0 The nonlocal x,y statement in 3.0 The str.format method in 2.6 and 3.0 String types in 3.0: str for Unicode text, bytes for binary data Text and binary file distinctions in 3.0 Class decorators in 2.6 and 3.0: @private('age') New iterators in 3.0: range, map, zip Dictionary views in 3.0: D.keys, D.values, D.items Divisi...2012-10-03 09:22
Table P-1. Extensions in Python 2.6 and 3.0The print function in 3.0The nonlocal x,y statement in 3.0The str.format method in 2.6 and 3.0String types in 3.0: str for Unicode text, bytes for binary dataText and binary file distinctions in 3.0Class decorators in 2.6 and 3.0: @private('age')New iterators in 3.0: range, map, zipDictionary views in 3.0: D.keys, D.values, D.itemsDivision operators in 3.0: remainders, / and //Set literals in 3.0: {a, b, c}Set comprehensions in 3.0: {x**2 for x in seq}Dictionary comprehensions in 3.0: {x: x**2 for x in seq}Binary digit-string support in 2.6 and 3.0: 0b0101, bin(I)The fraction number type in 2.6 and 3.0: Fraction(1, 3)Function annotations in 3.0: def f(a:99, b:str)->intKeyword-only arguments in 3.0: def f(a, *b, c, **d)Extended sequence unpacking in 3.0: a, *b = seqRelative import syntax for packages enabled in 3.0: from .Context managers enabled in 2.6 and 3.0: with/asException syntax changes in 3.0: raise, except/as, superclassException chaining in 3.0: raise e2 from e1Reserved word changes in 2.6 and 3.0New-style class cutover in 3.0Property decorators in 2.6 and 3.0: @propertyDescriptor use in 2.6 and 3.0Metaclass use in 2.6 and 3.0Abstract base classes support in 2.6 and 3.0Table P-2. Removals in Python 3.0 that impact this book

回应 2012-10-03 09:22 -
By way of introduction, however, let’s first establish a clear picture of how this chapter fits into the overall Python picture. From a more concrete perspective, Python programs can be decomposed into modules, statements, expressions, and objects, as follows: 1. Programs are composed of modules. 2. Modules contain statements. 3. Statements contain expressions. 4. Expressions create and pro...
2011-06-12 02:24
By way of introduction, however, let’s first establish a clear picture of how this chapter fits into the overall Python picture. From a more concrete perspective, Python programs can be decomposed into modules, statements, expressions, and objects, as follows: 1. Programs are composed of modules. 2. Modules contain statements. 3. Statements contain expressions. 4. Expressions create and process objects.
回应 2011-06-12 02:24 -
candyhorse (infinita)
/代码内容已省略/ Python2.6之后加入了字符串方法format,相当于%操作符,格式也稍有不同。2012-08-22 21:00
-
2009年7月份购此书,第三版影印,虽一直在用python,读过dive into python,byte of python,但这本近千页的大部头,一直停留在前200页。直到2012.12.13,才又开始继续读它。2013.1.3终于读完,历时20天。三年的蹉跎,20天一鼓作气,可见,好多事情只要下定决心,还是可以做到的,怕的就是半途而废。 阅读过程中,体会了作者的深入浅出,厘清了许多技术细节,学会了一些优雅的写法,当然要熟练使用还要多多实践。 最近两年...
2013-01-03 15:13
2009年7月份购此书,第三版影印,虽一直在用python,读过dive into python,byte of python,但这本近千页的大部头,一直停留在前200页。直到2012.12.13,才又开始继续读它。2013.1.3终于读完,历时20天。三年的蹉跎,20天一鼓作气,可见,好多事情只要下定决心,还是可以做到的,怕的就是半途而废。 阅读过程中,体会了作者的深入浅出,厘清了许多技术细节,学会了一些优雅的写法,当然要熟练使用还要多多实践。 最近两年,技术书读得不多,人文类看了不少。我的体会是技术人员读人文书,可以提高脑容量,再看技术书,会多一些哲学思考。回应 2013-01-03 15:13 -
一只黑眼睛看着大千世界 (我要保持自己的长名字……)
Table P-1. Extensions in Python 2.6 and 3.0 The print function in 3.0 The nonlocal x,y statement in 3.0 The str.format method in 2.6 and 3.0 String types in 3.0: str for Unicode text, bytes for binary data Text and binary file distinctions in 3.0 Class decorators in 2.6 and 3.0: @private('age') New iterators in 3.0: range, map, zip Dictionary views in 3.0: D.keys, D.values, D.items Divisi...2012-10-03 09:22
Table P-1. Extensions in Python 2.6 and 3.0The print function in 3.0The nonlocal x,y statement in 3.0The str.format method in 2.6 and 3.0String types in 3.0: str for Unicode text, bytes for binary dataText and binary file distinctions in 3.0Class decorators in 2.6 and 3.0: @private('age')New iterators in 3.0: range, map, zipDictionary views in 3.0: D.keys, D.values, D.itemsDivision operators in 3.0: remainders, / and //Set literals in 3.0: {a, b, c}Set comprehensions in 3.0: {x**2 for x in seq}Dictionary comprehensions in 3.0: {x: x**2 for x in seq}Binary digit-string support in 2.6 and 3.0: 0b0101, bin(I)The fraction number type in 2.6 and 3.0: Fraction(1, 3)Function annotations in 3.0: def f(a:99, b:str)->intKeyword-only arguments in 3.0: def f(a, *b, c, **d)Extended sequence unpacking in 3.0: a, *b = seqRelative import syntax for packages enabled in 3.0: from .Context managers enabled in 2.6 and 3.0: with/asException syntax changes in 3.0: raise, except/as, superclassException chaining in 3.0: raise e2 from e1Reserved word changes in 2.6 and 3.0New-style class cutover in 3.0Property decorators in 2.6 and 3.0: @propertyDescriptor use in 2.6 and 3.0Metaclass use in 2.6 and 3.0Abstract base classes support in 2.6 and 3.0Table P-2. Removals in Python 3.0 that impact this book

回应 2012-10-03 09:22
这本书的其他版本 · · · · · · ( 全部10 )
- 机械工业出版社版 2009-8 / 519人读过 / 有售
- 中国电力出版社版 2001-4 / 267人读过
- O'Reilly Media, Inc.版 2007-10-22 / 169人读过
- 东南大学出版社版 2005年6月 / 168人读过
以下豆列推荐 · · · · · · ( 全部 )
- 编程C语言,Python等类书籍 (IVAN)
- 术业有专攻 (几几哭倒在厕所)
- 十年学会编程 (黠之大者)
- Programming Language (unlockingman)
- 我的Python豆列 (德洪)
谁读这本书?
喜欢这本书的人常去的小组 · · · · · ·

- Github优秀开源项目 (1936)

- Python编程 (32173)

- Haskell (1527)

- Vim (11488)

- Django (6093)

- git (1747)

- LISP (3761)

- O'Reilly爱好者 (3528)
二手市场
- > 点这儿转让 有142人想读,手里有一本闲着?
订阅关于Learning Python的评论:
feed: rss 2.0














喝完这杯 (跟你算账)
2012-02-27 13:38 1人收藏
年糕 (未曾凋谢的花。)
2013-02-02 02:49
晴耕雨读
2013-01-03 15:13
一只黑眼睛看着大千世界 (我要保持自己的长名字……)
2012-10-03 09:22