学习Python(第五版·影印版)

学习Python(第五版·影印版)
作 者: 鲁特兹
出版社: 东南大学出版社
丛编项:
版权说明: 本书为出版图书,暂不支持在线阅读,请支持正版图书
标 签: 程序设计 计算机/网络
ISBN 出版时间 包装 开本 页数 字数
未知 暂无 暂无 未知 0 暂无

作者简介

  MarkLutz是世界级的Python培训讲师。他是最早和最畅销Python书籍的作者。从1992年起,他就是Python社区的先锋。Mark拥有30年的软件开发经验,他是0’Re川y出版社的《Python编程》(第四版)和《Python Pocket Reference》(第四版)的作者。

内容简介

通过《学习Python(第五版·影印版)(套装上下册)》,你将获得针对核心Python语言的一次全面而又深入的介绍。基于作者MarkLutz的畅销培训课程,该第五版修订本将可以帮助你快速使用Python编写高效和高质量的代码。无论你是编程新手还是精通其他语言的有经验的开发人员,《学习Python(第五版·影印版)(套装上下册)》都适合于你。通过小测验、练习和有效的讲解,这本易于遵循、自学的教程可以让你上手Python2.7和Python3.3——3.x和2.x产品线上的最新发布版本一一以及目前其他常见的版本。你也将学到一些最近在Python代码中越来越常见的高级语言特性。

图书目录

Part Ⅰ.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 Ⅱ.Types and Operations

Part Ⅲ.Statements and Syntax

Part Ⅳ.Functions and Generators

Part Ⅴ.Modules and Packages

Part Ⅵ.Classes and OOP

Part VⅡ.Exceptions and Tools

Part VⅢ.Advanced Topics

Part IX.Appendixes

Index