请输入您要查询的百科知识:

 

词条 学习Pytbon
释义

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

学习Pytbon(影印版)

作者:(美国)(Lutz.M.)卢茨

市场价:¥88.00

出版社:东南大学出版社

页码:700 页码

出版日:2008年

ISBN:9787564112400

版次:3版

装帧:平装

开本:16

内容简介

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

《学习Python(第三版)》基于作者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.

随便看

 

百科全书收录4421916条中文百科知识,基本涵盖了大多数领域的百科知识,是一部内容开放、自由的电子版百科全书。

 

Copyright © 2004-2023 Cnenc.net All Rights Reserved
更新时间:2024/11/16 4:45:16