Mark Lutz是世界级的Python培训讲师。他是最早和最畅销Python书籍的作者。从1992年起,他就是Python社区的先锋。Mark拥有30年的软件开发经验,他是0’Re川y出版社的《Python编程》第四版和《Python Pocket Reference》第四版的作者。
目錄:
Preface
Part I.Getting Started
1.A PythonQ&ASession
Why D0 People Use Python?
Software Quality
Developer Productivity
Is Python a“Scripting Language”?
OK.but What’S the Downside?
Who Uses Python Today?
What Can I Do with Python?
Systems Programming
GUIs
Internet Scripting
Component Integration
Database Programming
Rapid Prototyping
Numeric and Scientific Programming
And More:Gaming,Images,Data Mining,Robots,Excel
How Is Python Developed and Supported?
0pen Source Tradeoffs
What Are Python’S Technical Strengths?
It’S Object—Oriented and Functional
It’S Free
It’S Portable
It’S Powerful
It’S Mixable
It’S Relatively Easy to Use
It''s Relatively Easy tO Learn
It’S Named After Monty Python
How Does Python Stack Up to Language X?
Chapter Summary
Test Your Knowledge:Quiz
Test Your Knowledge:Answers
2.HowPython RunsPrograms
Introducing the Python Interpreter
Program Execution
The Programmer’S View
Python’S View
Execution Model Variations
Python Implementation Alternatives
Execution Optimization Tools
Frozen Binaries
Future Possibilities7
Chapter Summary
Test Your Knowledge:Quiz
Test Your Knowledge:Answers
3.HowYou Run Programs
The Interactive Prompt
Starting an Interactive Session
The System Path
New Windows 0ptions in 3.3:PATH.Launcher
Where to Run:Code Directories
What NOt tO Type:Prompts and Comments
Running Code Interactively
Why the Interactive Prompt?
Usage Notes:The Interactive Prompt
System Command Lines and Files
AFirst Script
Running Files with Command Lines
Command.Line Usage Variations
Usage Notes:Command Lines and Files
Unix—Style Executable Scripts:#!
Unix Script Basics
The Unix env Lookup Trick
The Python 3.3 Windows Launcher:#!Comes to Windows
Clicking File Icons
Icon—Click Basics
Clicking Icons on Windows
The input Trick on Windows
Other Icon.Click Limitations
Module Imports and Reloads
Import and Reload Basics
The Grander Module Story:Attributes
Usage Notes:import and reload
Using exec to Run Module Files
The IDLE User Interface
IDLE Startup Details
IDLE Basic Usage
IDLE Usability Features
Advanced IDLE Tools
Usage Notes:IDLE
Other IDEs
Other Launch Options
Embedding Calls
Frozen Binary Executables
Text Editor Launch Options
Still Other Launch 0ptions
Future Possibilities?
Which 0ption Should I Use?
Chapter Summary
Test Your Knowledge:Quiz
Test Your Knowledge:Answers
Test Your Knowledge:Part I Exercises
Part II.Types and Operations
Part III.Statements and Syntax
Part IV.Functions and Generators
Part V.Modules and Packages
Part VI.Classes and OOP
Part VII.Exceptions and Tools
Part VIII.Advanced Topics
Part IX.Appendixes
Index
……