图书城.com客服提醒
图书城.com可以帮助您管理读书信息!
现在您还没有登陆,请先
注册或者
登陆!
还有问题?请联系
图书城客服
|
作者: | (美) 卢茨(Lutz,X.),(美) 阿舍(Ascher,D.) 著 |
ISBN: |
9787564100476 , 7564100478
|
出版社: | |
出版日期: | 2005-6-1 |
定价: |
¥68.00 元
|
|
购买: |
|
|
内容提要 :
Python是流行、开源、面向对象的编程语言,既可以用于编写单机运行的程序也可以编写脚本程序,具有可移植、强大、易用等特点。跟随专业教师学习是最快捷的掌握此语言的方式。新版的《学习Python))把你带到Mark Lutz和David Ascher面前,他们是著名的Python专家和培训师,他们的用语亲切、组织良好的文章已经指导了许多编程者精通这种语言。
《学习Python(第二版)》给程序员提供了一个学习Python和面向对象编程的综合学习工具。它根据1999年该书第一版发布以来Python语言的大量变化做了更新。本书介绍了最近发布的Python 2.3的基本要素并涵盖了新的特性,如列表内涵,嵌套作用域和迭代器/产生器。
除了语言特性,《学习Python(第二版)》还为初级程序员提供了新的内容,包括新的面向对象编程和动态类型回顾,新的关于编程起步和配置选项的讨论,新的关于文档的内容等等。全书用新的实例使得语言特性的应用更加具体。
《学习Python(第二版)》首先给出了理解和构造Python程序必需的所有信息,包括类型、运算符、表达式、类、函数、模块和异常。然后,作者给出了更高级的内容,通过真实的应用和可用扩展库说明如何用Python完成一般的任务。全书提供了练习以检验自己的新技能。
《学习Python(第二版)》是本可灵活选读的图书,它让读者能够集中深入Python语言的核心。随着通读全书,你将获得对Python深入而完整的理解,这将帮助你自己开发大型的应用程序。本书适合于任何不仅仅想停留于了解Python而且想更好地掌握它的人。
编辑推荐 :
对本书第一版的褒奖:“这本书最优之处是作者在提供有用的实例与详细解释说明之间取得近乎完美的平衡。无论你是有经验的计算机程序员还是初学者,这本书对于学习Python语言都是非常适合的。”
——Andrew Morrison,CedarLug
目录 :
Preface
Part Ⅰ Getting Started
1 A Python Q&A Session
2 How Python Runs Programs
3 How you run programs
Part Ⅱ Types and Operations
4 Numbers
5 Strings
6 Lists and Dictionaries
7 Tuples, Files,and Every thing Else
Part Ⅲ Statements and Syntax
8 Assignment ,Espressions,and print
9 if Tests
10 While and for loops
11 Documenting Python Code
Part Ⅳ Functions
12 Function Basics
13 Scopes and Arguments
14 Advanced function topics
Part Ⅴ Modules
15 Modules:The Big Picture
16 Module Coding Basics
17 Module Packages
18 Advanced Module Topics
Part Ⅵ Classes and OOp
19 OOp:The Big Picture
20 Class Coding Basics
21 Class Coding Details
22 Designing With Classes
23 Advanced Class Topics
Part Ⅶ Exceptions and Tools
24 Exception Basics
25 Exception Objects
26 Designing With Exceptions
Part Ⅷ The Outer Layers
27 Common Tasks in Python
28 Frameworks
29 Python Resources
Part Ⅸ Appendixes
A. Installation and Configuration
B. Solutions to Exercises
Index
前言:
This book provides an introduction to the Python programming language. Python is a popular object-oriented language used for both standalone programs and scripting applications in a variety of domains. It is free, portable, powerful, and remarkably easy to use.
Whether you are new to programming or a professional developer, this book's goal is to bring you up to speed on the core Python language in a hurry.
About This Second Edition
In the four years after the first edition of this book was published in late 1998, there have been substant..