Cover image for Programming with Python
Title:
Programming with Python
Author:
Altom, Tim.
Personal Author:
Publication Information:
Rocklin, CA : Prima Tech, [1999]

©1999
Physical Description:
xxxiv, 372 pages : illustrations ; 24 cm + 1 computer optical disc (4 3/4 in.)
General Note:
CD-ROM includes: "Python source code; compiled Python for Microsoft Windows; Grail, a browser written entirely in Python; special Python modules; scripts found in the book"--P. 4 of cover.

Includes index.
Language:
English
Added Author:
ISBN:
9780761523345
Format :
Book

Available:*

Library
Call Number
Material Type
Home Location
Status
Item Holds
Searching...
QA76.73.P98 A48 1999 TEXT Book and Software Set Central Closed Stacks
Searching...

On Order

Summary

Summary

This book offers practical applications and code to help users get up to speed with this innovative programming language. By providing recipes of Python programs and scripts, users are able to get their programs running faster with less hassle. CD features Python code, programs and full a text version of the book.


Table of Contents

Introductionp. xxix
Part I "Well, What've You Got?"
Chapter 1 A Day at the Circus: An Introduction to Pythonp. 3
Scripting: Now for Something Completely Differentp. 5
Oh My, How to Choose?p. 6
Object-Oriented Programming in Python: Putting Things on Top of Other Thingsp. 7
How to Use the Scripts in this Bookp. 9
Chapter 2 Statements and Intrinsicsp. 11
Statementsp. 12
Arithmetic Operationsp. 33
Comparisonsp. 35
Data Typesp. 36
Methods and Operations on Specific Typesp. 39
Filesp. 48
Exceptionsp. 51
Chapter 3 Modulesp. 61
Python Servicesp. 62
String Servicesp. 66
Miscellaneous Servicesp. 67
Generic Operating System Servicesp. 68
Optional Operating System Servicesp. 70
UNIX Specific Servicesp. 71
CGI and Internetp. 72
Restricted Executionp. 76
Multimediap. 76
Cryptographic Servicesp. 77
SGI IRIX Specific Servicesp. 77
SunOS Specific Servicesp. 78
Microsoft Windows Specific Servicesp. 79
Chapter 4 Tkinterp. 81
The Widgetsp. 82
Part II "I'll Just Have a Look 'Round the Back of the Shop, Then..."
Chapter 5 Running Pythonp. 97
Main Under a GUI Modep. 98
Main Modep. 98
Interactive Modep. 100
Chapter 6 Tkinter Scriptsp. 103
Andy's Widgetsp. 104
Regexer.pyp. 112
dictEdit.pyp. 124
engine.pyp. 136
Chapter 7 Databasesp. 147
nickname.pyp. 148
dbase3.pyp. 149
Chapter 8 Math/Sciencep. 159
donutil.pyp. 160
julian.pyp. 164
roman.pyp. 170
stats.pyp. 173
Chapter 9 Serversp. 179
basic.pyp. 180
form.pyp. 181
helloworld.pyp. 184
counter.pyp. 185
sengine.pyp. 190
engine.pyp. 195
who-owns.pyp. 201
server.pyp. 204
Chapter 10 Strings and Other Data Typesp. 209
strplay.pyp. 210
dog.pyp. 213
banner.pyp. 214
ebcdic.pyp. 218
lc.pyp. 221
sample.pyp. 222
xref.pyp. 227
piglatin.pyp. 230
Chapter 11 System Operations and Programmingp. 235
spinner.pyp. 236
tabfix.pyp. 237
python2c.pyp. 240
otp.pyp. 252
space.pyp. 255
tree.pyp. 257
Chapter 12 Games and Artificial Intelligencep. 261
logic.pyp. 262
shaney.pyp. 272
therapist.pyp. 277
lotto.pyp. 287
warmer.pyp. 288
questor.pyp. 290
Appendix A Python Programming and Known Bugs FAQp. 293
Appendix B What's On the CD?p. 353
Indexp. 357