王朝百科
分享
 
 
 

学习Pytbon

王朝百科·作者佚名  2010-05-08  
宽屏版  字体: |||超大  

学习Pytbon

学习Pytbon(影印版)作者:(美国)(Lutz.M.)卢茨

市场价:¥88.00

出版社:东南大学出版社

页码:700 页码

出版日:2008年

ISBN:9787564112400

版次:3版

装帧:平装

开本:16

内容简介Python是一种理想的独立程序和脚本程序语言,具有可移植、强大和易用的特点。无论您是初学程序设计还是初学Python,都能通过《学习Python 第三版》快速而高效地掌握Python核心语言的基础。通读《学习Python 第三版》,您可以获得足够多的知识,能够学习将Python用于您所选择的任何应用领域。.

《学习Python(第三版)》[1]基于作者Mark Lutz在过去10年间讲授培训课程所使用的资料。除了大量的注解插图和每章总结外,作者还为每章加入了独特的一节,通过实际练习和复习提问的方式,让您在学习过程中练习新的技能,测验对概念的理解程度。

类型和运算——深入Python内置对象类型:数值、列表、字典及其他。

语句和语法——用来创建和处理对象的Python代码以及Python通用语法模型。

函数——Python的基本结构化和代码重用工具。..

模块——将语句、函数和其他工具组织为更大的组件。

类和面向对象编程——可选的Python面向对象程序设计工具,用于定制和重用结构化代码。

异常和工具——处理语句和模块异常,并介绍编写较大型程序所使用的开发工具。

有关即将发布的Python 3.0的一些讨论。

《学习Python 第三版》为您理解Python语言提供了完整而又深入的介绍,帮助您领会在以后的工作中会遇到的应用级Python实例。如果您准备好探索Google和YouTube究竟从Python中发现了什么,那么《学习Python 第三版》就是一个最好的开始。

作者简介作为Python培训界的领军人物,Mark Lutz是有关Python方面的最早和最畅销书籍的作者,并且从1992年起就是Python社区的先驱之一。同时他还是O'Reilly的《Programming Python》和《Python Pocket Reference》两本书的作者。Mark从1997年开始教授Python课程,截至2007年已经指导了超过200次培训。此外Mark拥有计算机科学学士和硕士学位,以及25年的软件开发经验。

目录Preface.xxix

PartI.GettingStarted

1.APythonQ&ASession3

2.HowPythonRunsPrograms22

3.HowYouRunPrograms34

PartII.TypesandOperations

4.IntroducingPythonObjectTypes65

5.Numbers93

6.TheDynamicTypingInterlude112

7.Strings123

8.ListsandDictionaries152

9.Tuples,Files,andEverythingElse172

PartIII.StatementsandSyntax

10.IntroducingPythonStatements201

11.Assignment,Expressions,andprint217

12.ifTests236

13.whileandforLoops248

14.TheDocumentationInterlude..278

PartIV.Functions

15.FunctionBasics299

16.ScopesandArguments310

17.AdvancedFunctionTopics344

PartV.Modules

18.Modules:TheBigPicture385

19.ModuleCodingBasics398

20.ModulePackages415

21.AdvancedModuleTopics426

PartVI.ClassesandOOP

22.OOP:TheBigPicture451

23.ClassCodingBasics465

24.ClassCodingDetails481

25.DesigningwithClasses518

26.AdvancedClassTopics539

PartVII.ExceptionsandTools

27.ExceptionBasics575

28.ExceptionObjects602

29.DesigningwithExceptions617

PartVIII.Appendixes

A.InstallationandConfiguration639

B.SolutionstoEnd-of-PartExercises646

Index...681

……

序言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.

 
 
免责声明:本文为网络用户发布,其观点仅代表作者个人观点,与本站无关,本站仅提供信息存储服务。文中陈述内容未经本站证实,其真实性、完整性、及时性本站不作任何保证或承诺,请读者仅作参考,并请自行核实相关内容。
如何用java替换看不见的字符比如零宽空格​十六进制U+200B
 干货   2023-09-10
网页字号不能单数吗,网页字体大小为什么一般都是偶数
 干货   2023-09-06
java.lang.ArrayIndexOutOfBoundsException: 4096
 干货   2023-09-06
Noto Sans CJK SC字体下载地址
 干货   2023-08-30
window.navigator和navigator的区别是什么?
 干货   2023-08-23
js获取referer、useragent、浏览器语言
 干货   2023-08-23
oscache遇到404时会不会缓存?
 干货   2023-08-23
linux下用rm -rf *删除大量文件太慢怎么解决?
 干货   2023-08-08
刀郎新歌破世界纪录!
 娱乐   2023-08-01
js实现放大缩小页面
 干货   2023-07-31
生成式人工智能服务管理暂行办法
 百态   2023-07-31
英语学习:过去完成时The Past Perfect Tense举例说明
 干货   2023-07-31
Mysql常用sql命令语句整理
 干货   2023-07-30
科学家复活了46000年前的虫子
 探索   2023-07-29
英语学习:过去进行时The Past Continuous Tense举例说明
 干货   2023-07-28
meta name="applicable-device"告知页面适合哪种终端设备:PC端、移动端还是自适应
 干货   2023-07-28
只用css如何实现打字机特效?
 百态   2023-07-15
css怎么实现上下滚动
 干货   2023-06-28
canvas怎么画一个三角形?
 干货   2023-06-28
canvas怎么画一个椭圆形?
 干货   2023-06-28
canvas怎么画一个圆形?
 干货   2023-06-28
canvas怎么画一个正方形?
 干货   2023-06-28
中国河南省郑州市金水区蜘蛛爬虫ip大全
 干货   2023-06-22
javascript简易动态时间代码
 干货   2023-06-20
感谢员工的付出和激励的话怎么说?
 干货   2023-06-18
 
>>返回首页<<
 
 
静静地坐在废墟上,四周的荒凉一望无际,忽然觉得,凄凉也很美
© 2005- 王朝网络 版权所有