ITPub博客

首页 > Linux操作系统 > Linux操作系统 > 学习Python 第三版(英文影印版)

学习Python 第三版(英文影印版)

原创 Linux操作系统 作者:china-pub 时间:2008-10-29 17:23:44 0 删除 编辑


查看其他详细信息:http://www.china-pub.com/209140

【原 书 名】 Learning Python, 3rd Edition 
【原出版社】 O'Reilly Media, Inc. 
【作  者】Mark Lutz
【丛 书 名】 东南大学出版社O'Reilly系列 
【出 版 社】 东南大学出版社     【书 号】 9787564112400 
【出版日期】 2008 年8月 【开 本】 16开 【页 码】 700     【版 次】3-1
   市场价:¥88.00      pub价:¥66.00

【内容简介】
Python是一种理想的独立程序和脚本程序语言,具有可移植、强大和易用的特点。无论您是初学程序设计还是初学Python,都能通过本书快速而高效地掌握Python核心语言的基础。通读本书,您可以获得足够多的知识,能够学习将Python用于您所选择的任何应用领域。.
《学习Python(第三版)》基于作者Mark Lutz在过去10年间讲授培训课程所使用的资料。除了大量的注解插图和每章总结外,作者还为每章加入了独特的一节,通过实际练习和复习提问的方式,让您在学习过程中练习新的技能,测验对概念的理解程度。
本书内容包括:
类型和运算——深入Python内置对象类型:数值、列表、字典及其他。
语句和语法——用来创建和处理对象的Python代码以及Python通用语法模型。
函数——Python的基本结构化和代码重用工具。..
模块——将语句、函数和其他工具组织为更大的组件。
类和面向对象编程——可选的Python面向对象程序设计工具,用于定制和重用结构化代码。
异常和工具——处理语句和模块异常,并介绍编写较大型程序所使用的开发工具。
有关即将发布的Python 3.0的一些讨论。
《学习Python 第三版》为您理解Python语言提供了完整而又深入的介绍,帮助您领会在以后的工作中会遇到的应用级Python实例。如果您准备好探索Google和YouTube究竟从Python中发现了什么,那么本书就是一个最好的开始。...

【前言】
About This Third Edition .
In the four years since the second edition of this book was published in late 2003, there have been substantial changes in Python itself, and in the topics I present in Python training sessions. Although I have attempted to retain as much of the prior version of this text as possible, this new edition reflects many recent changes in the Python language and in Python training, as well as a handful of structural changes.
This Edition’s Python Language Changes On the language front, this edition has been thoroughly updated to reflect Python 2.5 and all changes to the language since the publication of the second edition. (The second edition was based largely on Python 2.2, with some 2.3 features grafted on at the end of the project.) In addition, discussions of anticipated changes in the upcoming Python 3.0 release have been incorporated where appropriate. Here are some of the major language topics of which you’ll find new or expanded coverage in this edition:
·The new B if A else C conditional expression (Chapter 12).
·with/as context managers (Chapter 27).
·try/except/finally unification (Chapter 27).
·Relative import syntax (Chapter 21). ..
·Generator expressions (Chapter 17).
·New generator function features (Chapter 17).
·Function decorators (Chapter 26).
·The set object type (Chapter 5).
·New built-in functions: sorted, sum, any, all, enumerate (Chapters 4 and 13).
·The decimal fixed-precision object type (Chapter 5).
·New and expanded material on files, list comprehensions, iterators, and more (Chapters 13 and 17).
·New development tools coverage: Eclipse, distutils, unittest and doctest, IDLE enhancements, Shedskin, and so on (Chapters 3 and 29).
Smaller language changes (for instance, the widespread use of True and False, the new sys.exc_info for fetching exception details, and the demise of string-based exceptions, string methods, and the apply and reduce built-ins) are discussed throughout the book. In addition, some of the features that were new in the prior edition enjoy substantially expanded coverage here, including three-limit slices, and the arbitrary arguments call syntax that subsumes apply. ...

【目录】
Preface .      xxix
Part I. Getting Started
1. A Python Q&A Session 3
2. How Python Runs Programs      22
3. How You Run Programs34
Part II. Types and Operations
4. Introducing Python Object Types     65
5. Numbers    93
6. The Dynamic Typing Interlude      112
7. Strings     123
8. Lists and Dictionaries152
9. Tuples, Files, and Everything Else     172
Part III. Statements and Syntax
10. Introducing Python Statements     201
11. Assignment, Expressions, and print    217
12. if Tests     236
13. while and for Loops 248
14. The Documentation Interlude ..     278
Part IV. Functions
15. Function Basics  299
16. Scopes and Arguments310
17. Advanced Function Topics       344
Part V. Modules
18. Modules: The Big Picture       385
19. Module Coding Basics398
20. Module Packages  415
21. Advanced Module Topics        426
Part VI. Classes and OOP
22. OOP: The Big Picture 451
23. Class Coding Basics 465
24. Class Coding Details 481
25. Designing with Classes518
26. Advanced Class Topics539
Part VII. Exceptions and Tools
27. Exception Basics  575
28. Exception Objects  602
29. Designing with Exceptions       617
Part VIII. Appendixes
A. Installation and Configuration      639
B. Solutions to End-of-Part Exercises     646
Index ...       681


来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/16566727/viewspace-481807/ ,如需转载,请注明出处,否则将追究法律责任。

请登录后发表评论 登录
全部评论

注册时间:2008-10-29

  • 博文量
    922
  • 访问量
    1523053