注冊 | 登錄讀書好,好讀書,讀好書!
讀書網(wǎng)-DuShu.com
當(dāng)前位置: 首頁出版圖書科學(xué)技術(shù)計(jì)算機(jī)/網(wǎng)絡(luò)軟件與程序設(shè)計(jì)其他編程語言/工具學(xué)習(xí)python:英文版

學(xué)習(xí)python:英文版

學(xué)習(xí)python:英文版

定 價(jià):¥68.00

作 者: Mark Lutz,David Ascber著
出版社: 東南大學(xué)出版社
叢編項(xiàng): 東南大學(xué)出版社O'Reilly圖書系列
標(biāo) 簽: Python

ISBN: 9787564100476 出版時(shí)間: 2005-01-01 包裝: 膠版紙
開本: 23cm 頁數(shù): 591 字?jǐn)?shù):  

內(nèi)容簡介

  Python是流行、開源、面向?qū)ο蟮木幊陶Z言,既可以用于編寫單機(jī)運(yùn)行的程序也可以編寫腳本程序,具有可移植,強(qiáng)大、易用等特點(diǎn)。跟隨專業(yè)教師學(xué)習(xí)是最快捷的掌握此語言的方式。新版的《學(xué)習(xí)Python》把你帶到MarkLutz和DavidAscher面前,他們是著名的Python專家和培訓(xùn)師,他們的用語親切且組織良好的文章已經(jīng)指導(dǎo)許多編程者精通這種語言。對本書第一版的褒獎(jiǎng):“這本書最好之處在于作者在提供有用的實(shí)例與詳細(xì)解釋說明之間取得近乎完美的平衡。無論你是有經(jīng)驗(yàn)的計(jì)算機(jī)程序員還是初學(xué)者,這本書對于學(xué)習(xí)Python語言都是非常適合的?!薄狝ndrewMorrison,CedarLug《學(xué)習(xí)Python》(第二版)給程序員提供了一個(gè)學(xué)習(xí)Python和面向?qū)ο缶幊痰木C合學(xué)習(xí)工具。它根據(jù)1999年該書第一版發(fā)布以來語言的大量變化做了更新。本書介紹了最近發(fā)布的Python2.3的基本要素并涵蓋了新的特性,如列表內(nèi)涵,嵌套作用域和迭代器/產(chǎn)生器。除了語言特性,《學(xué)習(xí)Python》(第二版)還為初級程序員提供了新的內(nèi)容,包括新的面向?qū)ο缶幊袒仡?,?dòng)態(tài)類型,新的關(guān)于編程起步和配置選項(xiàng)的討論,新的關(guān)于文檔的內(nèi)容等等。全書用新的實(shí)例使得語言特性的應(yīng)用更加具體?!秾W(xué)習(xí)Python》(第二版)首先給出了理解和構(gòu)造Python程序必需的所有信息,包括類型、運(yùn)算符、表達(dá)式、類、函數(shù)、模塊和異常。然后,作者給出了更高級的內(nèi)容,通過真實(shí)的應(yīng)用和可用擴(kuò)展庫說明如何用Python完成一般的任務(wù)。全書提供了練習(xí)以檢驗(yàn)自己的新技能?!秾W(xué)習(xí)Python》(第二版)是本可靈活選讀的圖書,它讓讀者能夠集中深入Python語言的核心。隨著通讀全書,你將獲得對Python深入而完整的理解,這將幫助你自己開發(fā)大型的應(yīng)用程序。本書適合于任何不僅僅想停留于了解Python而且想更好的掌握它的人。

作者簡介

暫缺《學(xué)習(xí)python:英文版》作者簡介

圖書目錄

Preface
Part I. Getting Started
1. A Python Q&A Session
Why Do People Use Python?
Is Python a Scripting Language?
Okay, But What's the Downside?
Who Uses Python Today?
What Can I Do with Python?
What Are Python's Technical Strengths?
How Does Python Stack Up to Language X?
2. How Python Runs Programs
Introducing the Python Interpreter
Program Execution
Execution Model Variations
3. How You Run Programs
Interactive Coding
System Command Lines and Files
Clicking Windows File Icons
Module Imports and Reloads
The IDLE User Interface
Other IDEs
Embedding Calls
Frozen Binary Executables
Text Editor Launch Options
Other Launch Options
Future Possibilities?
Which Option Should I Use?
Part I Exercises
Part II. Types and Operations
4. Numbers
Python Program Structure
Why Use Built-in Types?
Numbers
Python Expression Operators
Numbers in Action
The Dynamic Typing Interlude
5. Strings
String Literals
Strings in Action
String Formatting
String Methods
General Type Categories
6. Lists and Dictionaries
Lists
Lists in Action
Dictionaries
Dictionaries in Action
7. Tuples, Files, and Everything Else
Tuples
Files
Type Categories Revisited
Object Generality
References Versus Copies
Comparisons, Equality, and Truth
Python's Type Hierarchies
Other Types in Python
Built-in Type Gotchas
Part II Exercises
Part III. Statements and Syntax
8. Assignment, Expressions, and Print
Assignment Statements
Expression Statements
Print Statements
9. if Tests
if Statements
Python Syntax Rules
Truth Tests
10. while and for loops
while Loops
break, continue, pass, and the Loop else
for Loops
Loop Variations
11. Documenting Python Code
The Python Documentation Interlude
Common Coding Gotchas
Part III Exercises
Part IV. Functions
12. Function Basics
Why Use Functions?
Coding Functions
A First Example: Definitions and Calls
A Second Example: Intersecting Sequences
13. Scopes and Arguments
Scope Rules
The global Statement
Scopes and Nested Functions
Passing Arguments
Special Argument Matching Modes
14. Advanced Function Topics
Anonymous Functions: lambda
Applying Functions to Arguments
Mapping Functions Over Sequences
Functional Programming Tools
List Comprehensions
Generators and Iterators
Function Design Concepts
Function Gotchas
Part IV Exercises
Part V. Modules
15. Modules: The Big Picture
Why Use Modules?
Python Program Architecture
How Imports Work
16. Module Coding Basics
Module Creation
Module Usage
Module Namespaces
Reloading Modules
17. Module Packages
Package Import Basics
Package Import Example
Why Use Package Imports?
A Tale of Three Systems
18. Advanced Module Topics
Data Hiding in Modules
Enabling Future Language Features
Mixed Usage Modes: __name__ and __main_
Changing the Module Search Path
The import as Extension
Module Design Concepts
Module Gotchas
Part V Exercises
Part Vl. Classes and OOP
19. OOP: The Big Picture
Why Use Classes?
OOP from 30,000 Feet
20. Class Coding Basics
Classes Generate Multiple Instance Objects
Classes Are Customized by Inheritance
Classes Can Intercept Python Operators
21. Class Coding Details
The Class Statement
Methods
Inheritance
Operator Overloading
Namespaces: The Whole Story
22. Designing with Classes
Python and OOP
Classes as Records
OOP and Inheritance: "is-a" Relationships
OOP and Composition: "has-a" Relationships
OOP and Delegation
Multiple Inheritance
Classes Are Objects: Generic Object Factories
Methods Are Objects: Bound or Unbound
Documentation Strings Revisited
Classes Versus Modules
23. Advanced Class Topics
Extending Built-in Types
Pseudo-Private Class Attributes
"New Style" Classes in Python 2.2
Class Gotchas
Part VI Exercises
Part VII. Exceptions and Tools
24. Exception Basics
Why Use Exceptions?
Exception Handling: The Short Story
The try/except/else Statement
The try/finally Statement
The raise Statement
The assert Statement
25. Exception Objects
String-Based Exceptions
Class-Based Exceptions
General raise Statement Forms
26. Designing with Exceptions
Nesting Exception Handlers
Exception Idioms
Exception Design Tips
Exception Gotchas
Core Language Summary
Part VII Exercises
Part VIII. The Outer Layers
27. Common Tasks in Python
Conversions, Numbers, and Comparisons
Manipulating Strings
Data Structure Manipulations
Manipulating Files and Directories
Internet-Related Modules
Executing Programs
Debugging, Testing, Timing, Profiling
Exercises
28. Frameworks
An Automated Complaint System
Interfacing with COM: Cheap Public Relations
A Tkinter-Based GUI Editor for Managing Form Data
Jython: The Felicitous Union of Python and Java
Exercises
29. Python Resources
Layers of Community
The Process
Services and Products
The Legal Framework: The Python Software Foundation
Software
Popular Third-Party Software
Web Application Frameworks
Tools for Python Developers
Part IX. Appendixes
A. Installation and Configuration
B. Solutions to Exercises
Index

本目錄推薦

掃描二維碼
Copyright ? 讀書網(wǎng) ranfinancial.com 2005-2020, All Rights Reserved.
鄂ICP備15019699號(hào) 鄂公網(wǎng)安備 42010302001612號(hào)