+612 9045 4394
 
CHECKOUT
Python : The Complete Reference - Martin C. Brown

Python

The Complete Reference

Paperback

Published: 21st September 2001
Ships: 7 to 10 business days
7 to 10 business days
RRP $122.00
$86.75
29%
OFF
or 4 easy payments of $21.69 with Learn more

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.

Acknowledgmentsp. xxiii
Introductionp. xxv
Fundamentals of the Language
Introducing Pythonp. 3
What Is Python?p. 4
What Is Python Good For?p. 6
What Isn't Python Good For?p. 9
Who Uses Python?p. 9
Python Historyp. 10
Similar Languagesp. 12
Python Fundamentalsp. 19
Executing Python Programsp. 20
Script, Program, or Module?p. 31
Components of a Python Programp. 33
Built-in Object Typesp. 34
Statementsp. 69
Functionsp. 81
Function Definition and Executionp. 83
Scopingp. 84
Argumentsp. 88
Return Valuesp. 95
Advanced Function Callingp. 96
Modulesp. 101
Importing a Modulep. 102
Tricks for Importing Modulesp. 106
Packagesp. 109
Creating a Modulep. 111
Object Orientationp. 113
Creating a Classp. 114
Exceptions and Error Trappingp. 125
What Is an Exception?p. 127
What Happens When an Exception Occurs?p. 128
Exception Handlingp. 131
Built-In Exceptionsp. 138
Rolling Your Own Exceptionsp. 144
Applying the Python Libraries
Python's Built-In Functionsp. 149
Interfacing to the OSp. 169
Working with the System (sys Module)p. 170
Working with the Operating System (os Module)p. 176
Multithreadingp. 191
Processing Informationp. 207
Manipulating Numbersp. 208
Text Manipulationp. 214
Timep. 232
Data Types and Operatorsp. 239
Unicode Stringsp. 247
Working with Filesp. 257
File Processingp. 258
Controlling File I/Op. 266
Getting File Listsp. 269
Basic File/Directory Managementp. 270
Access and Ownershipp. 272
Manipulating File Pathsp. 275
Data Management and Storagep. 277
Managing Internal Structuresp. 278
Object Persistencep. 281
Communicating over a Networkp. 289
Networking 101p. 290
Obtaining Networking Informationp. 294
Basic Socket Functionsp. 295
Creating a Network Serverp. 302
Client Modulesp. 307
Handling Internet Datap. 314
Using Python for Multimediap. 329
Audio Modulesp. 330
Graphics Modulesp. 345
Interface Building with Tkp. 351
Installing Python/Tk under Unixp. 353
Installing Python/Tk under Windowsp. 354
Installing Python/Tk under MacOSp. 354
Introduction to Tkp. 354
Using Widgetsp. 361
Controlling Window Geometryp. 388
Application Development
Using Python as a RAD Toolp. 395
What RAD Really Isp. 396
Why Python?p. 400
Application Development with Pythonp. 405
Integrated Development Environmentsp. 406
Python Standard Libraryp. 413
Vaults of Parnassusp. 420
Zope and Jythonp. 420
Distributing Python Modulesp. 421
Using distutilsp. 423
Future Featuresp. 424
Web Development
Web Development Basicsp. 427
Writing HTMLp. 428
Uniform Resource Locatorsp. 430
Dynamic Websites Using CGIp. 432
Cookiesp. 448
Securityp. 451
Standard Markup Language Processingp. 453
Processing SGMLp. 455
Processing HTMLp. 455
Processing XMLp. 460
Other Python Web Toolsp. 471
Zope, the Z-Objects Publishing Environmentp. 472
Jythonp. 475
Python.NETp. 478
Python Server Pagesp. 479
Python and ActiveScriptp. 480
Mailmanp. 480
Grailp. 481
Apache and Pythonp. 481
SocketServer and BaseHTTPServerp. 482
Medusap. 483
Cross-platform Development
Paths to Cross-platform Developmentp. 487
Basic Platform Supportp. 488
Execution Environmentp. 489
Line Terminationp. 497
Character Setsp. 498
Files and Pathnamesp. 499
Data Differencesp. 499
Performance and Resourcesp. 500
Inside Python
The Python Architecturep. 503
Namespaces, Code Blocks, and Framesp. 505
Built-in Typesp. 509
Bytecodep. 517
Debugging and Tuningp. 533
An Introduction to Debuggingp. 534
Debugging Techniquesp. 542
Optimizing Python Applicationsp. 556
Documenting and Documentationp. 567
Commentsp. 568
Embedded Document Stringsp. 571
Translating Embedded Strings into Documentationp. 573
Extending Pythonp. 581
Basic Interfacep. 582
Data Conversionp. 589
Managing Reference Countsp. 592
Exceptionsp. 594
Low-Level Object Accessp. 600
Where Next?p. 609
Embedding Pythonp. 611
Embedding Principlesp. 612
Python Embedding Typesp. 620
Where Next?p. 629
Python Library Guidep. 631
Python Resourcesp. 659
Web Resourcesp. 660
Email, Newsgroup, and Mailing List Resourcesp. 663
Online Documentationp. 664
Print Resourcesp. 665
Indexp. 667
Table of Contents provided by Syndetics. All Rights Reserved.

ISBN: 9780072127188
ISBN-10: 007212718X
Series: The Complete Reference
Audience: General
Format: Paperback
Language: English
Number Of Pages: 724
Published: 21st September 2001
Publisher: McGraw-Hill Education - Europe
Country of Publication: US
Dimensions (cm): 23.5 x 19.1  x 3.6
Weight (kg): 1.2