+612 9045 4394
 
CHECKOUT
Quick Python Book : MANNING PUBS CO - Kenneth McDonald

Quick Python Book

MANNING PUBS CO

Sorry, the book that you are looking for is not available right now.

We did a search for other books with a similar title, and found some results for you that may be helpful.

Share This Book:

A comprehensive guide to one of the fastest-growing computer languages including Web and Internet applications. This clear and concise introduction to the Python language is aimed at readers who are already familiar with programming in at least one language. The Python core language reference that concludes the book has been designed to get new Python users to an advanced level of programming.

Prefacep. xvii
Special thanksp. xviii
About the authorp. xix
About the cover illustratiop. xxi
Author onlinep. xxii
Starting outp. 1
About Pythonp. 3
Why should I use it?p. 3
A look at languagesp. 4
A comparison of Python and other languagesp. 6
What's the catch?p. 10
Have your language and Python too!p. 11
Python and open source softwarep. 11
Summaryp. 12
About this bookp. 13
How to use this bookp. 13
Learning Python by examplep. 14
Formatting conventions for code examplesp. 14
What you will find in this bookp. 17
Where to find more informationp. 19
Feedbackp. 20
Getting startedp. 21
Installing Pythonp. 21
IDLE and the basic interactive modep. 22
Hello, worldp. 25
Using IDLE's Python Shell windowp. 25
The essentialsp. 27
The Quick Python overviewp. 29
About this chapterp. 29
Python synopsisp. 30
Built-in data typesp. 30
Control flow structuresp. 36
Module creationp. 38
Object-oriented programmingp. 40
Summaryp. 41
The absolute basicsp. 42
Indentation and block-structuringp. 42
Commentsp. 44
Variables and assignmentsp. 44
Expressionsp. 45
Stringsp. 45
Numbersp. 46
The None valuep. 49
Built-in operatorsp. 50
Lists and tuplesp. 51
Lists are like arraysp. 52
List indicesp. 52
Modifying listsp. 54
Sortingp. 56
Other common list operationsp. 58
Nested lists and deep copiesp. 60
Tuplesp. 63
Summaryp. 66
Stringsp. 67
Strings as sequences of charactersp. 67
Basic string operationsp. 68
Special characters and escape sequencesp. 68
The 'string' modulep. 70
Converting from objects to stringsp. 77
Formatting stringsp. 79
Dictionariesp. 82
What is a dictionary?p. 82
Other dictionary operationsp. 84
Word countingp. 86
What can be used as a key?p. 87
Sparse matricesp. 87
Dictionaries as cachesp. 88
Efficiency of dictionariesp. 89
Control flowp. 90
The while loopp. 90
The if-elif-else statementp. 91
The for loopp. 92
Statements, blocks, and indentationp. 94
Boolean values and expressionsp. 96
Functions and proceduresp. 99
Basic function and procedure definitionsp. 99
Assigning functions to variablesp. 100
Lambda expressionsp. 100
Function parameter optionsp. 101
Mutable objects as argumentsp. 104
Local and global variablesp. 104
Summaryp. 105
Modules and scoping rulesp. 106
What is a module?p. 106
A first modulep. 107
The import statementp. 109
The module search pathp. 110
Private names in modulesp. 112
Library and third-party modulesp. 113
Python scoping rules and namespacesp. 114
Using the filesystemp. 120
Paths and pathnamesp. 120
Getting information about filesp. 127
More filesystem operationsp. 128
Processing all files in a directory subtreep. 129
Summaryp. 130
Reading and writing filesp. 131
Opening files and file objectsp. 131
Closing filesp. 132
Opening files in write or other modesp. 132
Functions to read and write text or binary datap. 133
Screen input/output and redirectionp. 134
The struct modulep. 137
Pickling objects into filesp. 138
Shelving objectsp. 141
Summaryp. 143
Exceptionsp. 144
Introduction to exceptionsp. 144
Exceptions in Pythonp. 148
Scriptsp. 156
Creating a very basic scriptp. 157
Making a script directly executable on UNIXp. 161
Script execution options in Windowsp. 161
Scripts on Windows versus scripts on UNIXp. 165
Scripts and modulesp. 167
Creating executable programs with freezep. 171
Summaryp. 171
Classes and object-oriented programmingp. 173
Defining classesp. 174
Instance variablesp. 175
Methodsp. 175
Class variablesp. 177
Class methodsp. 179
Inheritancep. 180
Inheritance with class and instance variablesp. 182
Private variables and private methodsp. 184
Scoping rules and namespaces for class instancesp. 185
Destructors and memory managementp. 189
Multiple inheritancep. 192
Summaryp. 193
Graphical User Interfaces and Tkp. 194
Installing Tkp. 195
Starting Tk and using Tkinterp. 195
Principles of Tkp. 196
A simple Tkinter applicationp. 198
Creating widgetsp. 200
Widget placementp. 201
What else can Tkinter do?p. 203
Alternatives to Tk and Tkinterp. 206
Summaryp. 206
Advanced language featuresp. 209
Packagesp. 211
What is a package?p. 211
A first examplep. 211
A concrete examplep. 213
The _all_ attributep. 216
Proper use of packagesp. 218
Data types as objectsp. 219
Types are objects, toop. 219
Using typesp. 220
The types modulep. 220
Types and user-defined classesp. 221
Special method attributesp. 224
What is a special method attribute?p. 224
Making an object behave like a listp. 226
Sample problem 2p. 229
When to use special method attributesp. 231
Regular expressionsp. 232
What is a regular expression?p. 232
Regular expressions with metacharactersp. 233
Regular expressions and raw stringsp. 234
Extracting matched text from stringsp. 236
Substituting text with regular expressionsp. 238
What else can regular expressions do?p. 239
Advanced topics and applicationsp. 241
Python, Windows, and COMp. 243
Introductionp. 243
How to use Python with COMp. 244
Installation and setupp. 246
Anatomy of a Python COM serverp. 246
Creating and using the server from Visual Basicp. 251
Passing data in and out of the serverp. 253
Callbacksp. 257
Using Excel as a clientp. 258
Distributed COMp. 261
Client side COM--automating Officep. 261
Type librariesp. 263
Guidelinesp. 264
Other goodiesp. 265
Sources of informationp. 267
Extending Python with C and C++p. 269
Using this chapterp. 269
Compilation detailsp. 270
A first examplep. 271
Memory managementp. 275
Writing extensions in C++p. 278
Where to go from herep. 278
Integration with the Java Virtual Machine: JPythonp. 279
What is JPython?p. 279
Prologue: the false hope for a single languagep. 280
JPython, the killer scripting languagep. 281
Downloading and installing JPythonp. 283
Using Java from JPythonp. 285
Using JPython from Javap. 289
Compiling JPython classesp. 293
Using Java and JPython togetherp. 295
Conclusionp. 296
HTML and Python--the HTMLgen packagep. 297
Uses for HTMLgenp. 298
How HTMLgen renders objectsp. 304
Document modelp. 304
Tablesp. 306
Listsp. 308
Framesp. 309
Imagesp. 310
Image mapsp. 311
The [A] tagp. 312
Call protocolp. 313
CSS1 supportp. 313
CGI and formsp. 315
Auxiliary modulesp. 319
The futurep. 320
Using 'Zope'p. 321
Introductionp. 321
Object publishingp. 322
Advanced Zopep. 332
What else can Python do?p. 346
The Quick Python referencep. 349
Indexp. 399
Table of Contents provided by Syndetics. All Rights Reserved.

ISBN: 9781884777745
ISBN-10: 1884777740
Series: MANNING PUBS CO
Audience: Professional
Format: Paperback
Language: English
Number Of Pages: 422
Published: 1st January 2000
Country of Publication: GB
Dimensions (cm): 24.0 x 19.1  x 2.54
Weight (kg): 0.78