did-you-know? rent-now

Amazon no longer offers textbook rentals. We do!

did-you-know? rent-now

Amazon no longer offers textbook rentals. We do!

We're the #1 textbook rental company. Let us show you why.

9780596000851

Programming Python : Object-Oriented Scripting

by
  • ISBN13:

    9780596000851

  • ISBN10:

    0596000855

  • Edition: 2nd
  • Format: Paperback
  • Copyright: 2001-03-01
  • Publisher: Oreilly & Associates Inc
  • Purchase Benefits
  • Free Shipping Icon Free Shipping On Orders Over $35!
    Your order must be $35 or more to qualify for free economy shipping. Bulk sales, PO's, Marketplace items, eBooks and apparel do not qualify for this offer.
  • eCampus.com Logo Get Rewarded for Ordering Your Textbooks! Enroll Now
List Price: $59.99

Summary

Programming Python focuses on advanced applications of Python. Endorsed by Python creator Guido van Rossum, it demonstrates advanced Python techniques, and addresses software design issues such as reusability and object- oriented programming. The enclosed platform-neutral CD- ROM has book examples and various Python-related packages, including the full Python Version 2.0 source code distribution.

Author Biography

Mark Lutz is an independent Python trainer, writer, and software developer, and is one of the primary figures in the Python community. He is the author of the O'Reilly books Programming Python and Python Pocket Reference (both in 2nd Editions), and co-author of Learning Python (both in 2nd Editions). Mark has been involved with Python since 1992, began teaching Python classes in 1997, and has instructed over 90 Python training sessions as of early 2003. In addition, he holds BS and MS degrees in computer science from the University of Wisconsin, and over the last two decades has worked on compilers, programming tools, scripting applications, and assorted client/server systems. Whenever Mark gets a break from spreading the Python word, he leads an ordinary, average life with his kids in Colorado. Mark can be reached by email at , or on the web at http://www.rmi.net/~lutz.

Table of Contents

Foreword xi
Preface for the Second Edition xv
Introducing Python
1(10)
The Life of Python
3(2)
The Compulsory Features List
5(1)
What's Python Good For?
6(2)
What's Python Not Good For?
8(3)
I. System Interfaces 11(236)
System Tools
13(75)
Why Python Here?
13(2)
System Scripting Overview
15(7)
The sys Module
22(3)
The os Module
25(9)
Script Execution Context
34(1)
Current Working Directory
34(3)
Command-Line Arguments
37(2)
Shell Environment Variables
39(5)
Standard Streams
44(14)
File Tools
58(14)
Directory Tools
72(16)
Parallel System Tools
88(49)
Forking Processes
89(6)
Threads
95(12)
Program Exits
107(6)
Interprocess Communication
113(1)
Pipes
114(8)
Signals
122(3)
Launching Programs on Windows
125(11)
Other System Tools
136(1)
Larger System Examples I
137(49)
Splitting and Joining Files
138(10)
Generating Forward-Link Web Pages
148(4)
A Regression Test Script
152(3)
Packing and Unpacking Files
155(11)
User-Friendly Program Launchers
166(20)
Larger System Examples II
186(61)
Fixing DOS Line Ends
186(14)
Fixing DOS Filenames
200(4)
Searching Directory Trees
204(6)
Visitor: Walking Trees Generically
210(17)
Copying Directory Trees
227(5)
Deleting Directory Trees
232(4)
Comparing Directory Trees
236(11)
II. GUI Programming 247(266)
Graphical User Interfaces
249(44)
Python GUI Development Options
251(2)
Tkinter Overview
253(4)
Climbing the GUI Learning Curve
257(33)
The End of the Tutorial
290(1)
Python/Tkinter for Tcl/Tk Converts
291(2)
A Tkinter Tour, Part 1
293(66)
Configuring Widget Appearance
294(3)
Toplevel Windows
297(5)
Dialogs
302(15)
Binding Events
317(5)
Message and Entry
322(8)
Checkbutton, Radiobutton, and Scale
330(13)
Running GUI Code Three Ways
343(9)
Images
352(7)
A Tkinter Tour, Part 2
359(75)
Menus
360(12)
Listboxes and Scrollbars
372(4)
Text
376(12)
Canvas
388(10)
Grids
398(17)
Time Tools, Threads, and Animation
415(10)
The End of the Tour
425(1)
The PyDemos and PyGadgets Launchers
425(9)
Larger GUI Examples
434(79)
Advanced GUI Coding Techniques
436(27)
Complete Program Examples
463(1)
PyEdit: A Text Editor Program/Object
463(15)
PyView: An Image and Notes Slideshow
478(7)
PyDraw: Painting and Moving Graphics
485(9)
PyClock: An Analog/Digital Clock Widget
494(13)
PyToe: A Tic-Tac-Toe Game Widget
507(4)
Where to Go from Here
511(2)
III. Internet Scripting 513(430)
Network Scripting
515(56)
Plumbing the Internet
520(6)
Socket Programming
526(11)
Handling Multiple Clients
537(21)
A Simple Python File Server
558(13)
Client-Side Scripting
571(111)
Transferring Files over the Net
572(32)
Processing Internet Email
604(29)
The PyMailGui Email Client
633(36)
Other Client-Side Tools
669(13)
Server-Side Scripting
682(83)
What's a Server-Side CGI Script?
682(6)
Climbing the CGI Learning Curve
688(37)
The Hello World Selector
725(8)
Coding for Maintainability
733(9)
More on HTML and URL Escapes
742(5)
Sending Files to Clients and Servers
747(18)
Larger Web Site Examples I
765(51)
The PyMailCgi Web Site
766(3)
The Root Page
769(3)
Sending Mail by SMTP
772(6)
Reading POP Email
778(19)
Utility Modules
797(14)
CGI Script Trade-offs
811(5)
Larger Web Site Examples II
816(72)
The PyErrata Web Site
816(4)
The Root Page
820(2)
Browsing PyErrata Reports
822(19)
Submitting PyErrata Reports
841(13)
PyErrata Database Interfaces
854(20)
Administrative Tools
874(5)
Designing for Reuse and Growth
879(9)
Advanced Internet Topics
888(55)
Zope: A Web Publishing Framework
889(4)
HTMLgen: Web Pages from Objects
893(5)
JPython (Jython): Python for Java
898(12)
Grail: A Python-Based Web Browser
910(4)
Python Restricted Execution Mode
914(3)
XML Processing Tools
917(2)
Windows Web Scripting Extensions
919(19)
Python Server Pages
938(1)
Rolling Your Own Servers in Python
939(4)
IV. Assorted Topics 943(150)
Databases and Persistence
945(40)
Persistence Options in Python
945(1)
DBM Files
946(3)
Pickled Objects
949(3)
Shelve Files
952(8)
SQL Database Interfaces
960(2)
PyForm: A Persistent Object Viewer
962(23)
Data Structures
985(48)
Implementing Stacks
986(10)
Implementing Sets
996(9)
Binary Search Trees
1005(4)
Graph Searching
1009(4)
Reversing Sequences
1013(2)
Permuting Sequences
1015(2)
Sorting Sequences
1017(2)
Data Structures Versus Python Built-ins
1019(1)
PyTree: A Generic Tree Object Viewer
1020(13)
Text and Language
1033(60)
Strategies for Parsing Text in Python
1033(1)
String Module Utilities
1034(7)
Regular Expression Matching
1041(9)
Parser Generators
1050(1)
Hand-Coded Parsers
1051(19)
PyCalc: A Calculator Program/Object
1070(23)
V. Integration 1093(92)
Extending Python
1095(52)
C Extensions Overview
1097(1)
A Simple C Extension Module
1097(11)
The SWIG Integration Code Generator
1108(6)
Wrapping C Environment Calls
1114(5)
A C Extension Module String Stack
1119(5)
A C Extension Type String Stack
1124(13)
Wrapping C++ Classes with SWIG
1137(10)
Embedding Python
1147(38)
C Embedding API Overview
1147(3)
Basic Embedding Techniques
1150(12)
Registering Callback Handler Objects
1162(5)
Using Python Classes in C
1167(3)
ppembed: A High-Level Embedding API
1170(10)
Other Integration Topics
1180(5)
VI. The End 1185(18)
Conclusion: Python and the Development Cycle
1187(16)
``Something's Wrong with the Way We Program Computers''
1187(1)
The ``Gilligan Factor''
1188(1)
Doing the Right Thing
1189(1)
Enter Python
1190(1)
But What About That Bottleneck?
1191(4)
On Sinking the Titanic
1195(3)
So What's Python: The Sequel
1198(1)
In the Final Analysis
1198(1)
Postscript to the Second Edition
1199(4)
A. Recent Python Changes 1203(16)
B. Pragmatics 1219(9)
C. Python Versus C++ 1228(5)
Index 1233

Supplemental Materials

What is included with this book?

The New copy of this book will include any supplemental materials advertised. Please check the title of the book to determine if it should include any access cards, study guides, lab manuals, CDs, etc.

The Used, Rental and eBook copies of this book are not guaranteed to include any supplemental materials. Typically, only the book itself is included. This is true even if the title states it includes any access cards, study guides, lab manuals, CDs, etc.

Rewards Program