Python: The Complete Reference
Python is an intergrated, object-orientated development language for use in computer programming. This text is split into distinct sections, each concentrating on a core angle of the language. The book also contains sections for Web and application development, the two most popular uses for Python. It is designed to teach a programmer how to use Python by explaining the mechanics of Python. The appendixes offer a quick guide to the main features of the Python language, as well as additional guides to non-essential systems such as the IDLE development environment and general guidelines for migrating from another language.
1129860360
Python: The Complete Reference
Python is an intergrated, object-orientated development language for use in computer programming. This text is split into distinct sections, each concentrating on a core angle of the language. The book also contains sections for Web and application development, the two most popular uses for Python. It is designed to teach a programmer how to use Python by explaining the mechanics of Python. The appendixes offer a quick guide to the main features of the Python language, as well as additional guides to non-essential systems such as the IDLE development environment and general guidelines for migrating from another language.
61.0 In Stock
Python: The Complete Reference

Python: The Complete Reference

Python: The Complete Reference

Python: The Complete Reference

Paperback

$61.00 
  • SHIP THIS ITEM
    In stock. Ships in 1-2 days.
  • PICK UP IN STORE

    Your local store may have stock of this item.

Related collections and offers


Overview

Python is an intergrated, object-orientated development language for use in computer programming. This text is split into distinct sections, each concentrating on a core angle of the language. The book also contains sections for Web and application development, the two most popular uses for Python. It is designed to teach a programmer how to use Python by explaining the mechanics of Python. The appendixes offer a quick guide to the main features of the Python language, as well as additional guides to non-essential systems such as the IDLE development environment and general guidelines for migrating from another language.

Product Details

ISBN-13: 9780072127188
Publisher: McGraw-Hill/Osborne Media
Publication date: 09/21/2001
Series: Complete Reference
Pages: 1200
Product dimensions: 7.52(w) x 9.28(h) x 1.58(d)

Table of Contents

Acknowledgmentsxxiii
Introductionxxv
Part IFundamentals of the Language
1Introducing Python3
What Is Python?4
What Is Python Good For?6
What Isn't Python Good For?9
Who Uses Python?9
Python History10
Similar Languages12
2Python Fundamentals19
Executing Python Programs20
Script, Program, or Module?31
3Components of a Python Program33
Built-in Object Types34
Statements69
4Functions81
Function Definition and Execution83
Scoping84
Arguments88
Return Values95
Advanced Function Calling96
5Modules101
Importing a Module102
Tricks for Importing Modules106
Packages109
Creating a Module111
6Object Orientation113
Creating a Class114
7Exceptions and Error Trapping125
What Is an Exception?127
What Happens When an Exception Occurs?128
Exception Handling131
Built-In Exceptions138
Rolling Your Own Exceptions144
Part IIApplying the Python Libraries
8Python's Built-In Functions149
9Interfacing to the OS169
Working with the System (sys Module)170
Working with the Operating System (os Module)176
Multithreading191
10Processing Information207
Manipulating Numbers208
Text Manipulation214
Time232
Data Types and Operators239
Unicode Strings247
11Working with Files257
File Processing258
Controlling File I/O266
Getting File Lists269
Basic File/Directory Management270
Access and Ownership272
Manipulating File Paths275
12Data Management and Storage277
Managing Internal Structures278
Object Persistence281
13Communicating over a Network289
Networking 101290
Obtaining Networking Information294
Basic Socket Functions295
Creating a Network Server302
Client Modules307
Handling Internet Data314
14Using Python for Multimedia329
Audio Modules330
Graphics Modules345
15Interface Building with Tk351
Installing Python/Tk under Unix353
Installing Python/Tk under Windows354
Installing Python/Tk under MacOS354
Introduction to Tk354
Using Widgets361
Controlling Window Geometry388
Part IIIApplication Development
16Using Python as a RAD Tool395
What RAD Really Is396
Why Python?400
17Application Development with Python405
Integrated Development Environments406
Python Standard Library413
Vaults of Parnassus420
Zope and Jython420
18Distributing Python Modules421
Using distutils423
Future Features424
Part IVWeb Development
19Web Development Basics427
Writing HTML428
Uniform Resource Locators430
Dynamic Websites Using CGI432
Cookies448
Security451
20Standard Markup Language Processing453
Processing SGML455
Processing HTML455
Processing XML460
21Other Python Web Tools471
Zope, the Z-Objects Publishing Environment472
Jython475
Python.NET478
Python Server Pages479
Python and ActiveScript480
Mailman480
Grail481
Apache and Python481
SocketServer and BaseHTTPServer482
Medusa483
Part VCross-platform Development
22Paths to Cross-platform Development487
Basic Platform Support488
Execution Environment489
Line Termination497
Character Sets498
Files and Pathnames499
Data Differences499
Performance and Resources500
Part VIInside Python
23The Python Architecture503
Namespaces, Code Blocks, and Frames505
Built-in Types509
Bytecode517
24Debugging and Tuning533
An Introduction to Debugging534
Debugging Techniques542
Optimizing Python Applications556
25Documenting and Documentation567
Comments568
Embedded Document Strings571
Translating Embedded Strings into Documentation573
26Extending Python581
Basic Interface582
Data Conversion589
Managing Reference Counts592
Exceptions594
Low-Level Object Access600
Where Next?609
27Embedding Python611
Embedding Principles612
Python Embedding Types620
Where Next?629
APython Library Guide631
BPython Resources659
Web Resources660
Email, Newsgroup, and Mailing List Resources663
Online Documentation664
Print Resources665
Index667
From the B&N Reads Blog

Customer Reviews