Read Programming Python Online

Authors: Mark Lutz

Tags: #COMPUTERS / Programming Languages / Python

Programming Python (217 page)

BOOK: Programming Python
11.11Mb size Format: txt, pdf, ePub
ads
PyMailGUIHelp program,
PyMailGUIHelp: User Help Text and Display
,
altconfigs: Configuring for Multiple Accounts
PyModule_GetDict API function,
The C Embedding API
,
Running Code Strings with Results and Namespaces
PyObjC toolkit,
Python GUI Development Options
PyObject_CallObject API function,
The C Embedding API
PyObject_GetAttrString API function,
The C Embedding API
,
Calling Python Objects
,
Running Strings in Dictionaries
PyObject_SetAttrString API function,
The C Embedding API
,
Running Code Strings with Results and Namespaces
PyParsing system,
Advanced Language Tools
PyPhoto image program,
Text
,
Scrolling images too: PyPhoto (ahead)
,
PyPhoto: An Image Viewer and Resizer
,
Running PyPhoto
,
Running PyPhoto
,
PyPhoto Source Code
,
PyView: An Image and Notes Slideshow
limitations,
Scrolling images too: PyPhoto (ahead)
overview,
PyPhoto: An Image Viewer and Resizer
running,
Running PyPhoto
,
Running PyPhoto
source code,
PyPhoto Source Code
,
PyView: An Image and Notes Slideshow
widget support,
Text
PyPI website,
Python Internet Development Options
,
Advanced Language Tools
PyQt package,
Python GUI Development Options
Pyrex system,
Extending and Embedding
,
Other Extending Tools
PyRun_File API function,
The C Embedding API
PyRun_SimpleString API function,
Running Simple Code Strings
PyRun_String API function,
The C Embedding API
,
Running Code Strings with Results and Namespaces
,
Running Strings in Dictionaries
pySerial interface,
Python System Modules
,
Using a reusable form-layout class
python interpreter program,
Parsing Command-Line Arguments
Python language,
Using Shelves
,
The Next Five Chapters
,
Python Internet Development Options
,
Python Internet Development Options
,
Enter Python
,
Enter Python
Internet development option,
Python Internet Development Options
,
Python Internet Development Options
language comparisons,
Enter Python
,
Enter Python
name origin,
Using Shelves
third-party packages,
The Next Five Chapters
Python Server Pages (PSP),
Python Internet Development Options
,
Keeping display and logic separate
,
Extensions to the CGI Model
Python Software Foundation (PSF),
Other Database Options
PythonCard builder,
Python GUI Development Options
PythonInterpreter class API,
Other Integration Topics
PYTHONIOENCODING environment variable,
Printing Unicode Filenames
PYTHONPATH environment variable,
The Module Search Path
,
Shell Environment Variables
,
Pickled Class Constraints
,
Compiling and running
defined,
Shell Environment Variables
pickled class constraints,
Pickled Class Constraints
running code strings,
Compiling and running
syntax errors and,
The Module Search Path
PYTHONUNBUFFERED environment variable,
Installing CGI scripts
PyToe game widget,
PyToe: A Tic-Tac-Toe Game Widget
,
Running PyToe
,
PyToe Source Code (External)
,
PyToe Source Code (External)
functionality,
PyToe: A Tic-Tac-Toe Game Widget
running,
Running PyToe
source code,
PyToe Source Code (External)
,
PyToe Source Code (External)
PyTree program,
Scrolling Canvases
,
PyTree: A Generic Tree Object Viewer
,
PyTree: A Generic Tree Object Viewer
,
Exploring Parse Trees with the PyTree GUI
,
Exploring Parse Trees with the PyTree GUI
PyView image program,
Frame- and Menubutton-Based Menus
,
Text
,
PyView: An Image and Notes Slideshow
,
Running PyView
,
Embedding PyEdit in PyView
,
PyView Source Code
,
PyView Source Code
frame-based menus,
Frame- and Menubutton-Based Menus
functionality,
PyView: An Image and Notes Slideshow
running,
Running PyView
,
Embedding PyEdit in PyView
source code,
PyView Source Code
,
PyView Source Code
widget support,
Text
PYW extension,
Avoiding DOS consoles on Windows
PyWin32 package,
Python GUI Development Options
,
Python Internet Development Options
development options,
Python Internet Development Options
overview,
Python GUI Development Options
PyXML SIG,
Other XML topics
Q
queries,
Using Query Strings and urllib
,
Using Query Strings and urllib
,
Internet addresses (URLs)
,
URL Query Parameters
,
Running queries
,
Running queries
,
Automating with scripts and modules
,
Automating with scripts and modules
automating,
Automating with scripts and modules
,
Automating with scripts and modules
CGI script support,
Using Query Strings and urllib
,
Using Query Strings and urllib
parameter considerations,
Internet addresses (URLs)
,
URL Query Parameters
running with SQLite,
Running queries
,
Running queries
QUERY_STRING environment variable,
Step 3: Putting It All Together—A New Reply Script
queue module,
Python System Modules
,
Threads
,
The queue Module
,
Arguments versus globals
,
Program exit with child threads
,
Running the script
arguments versus globals,
Arguments versus globals
functionality,
Python System Modules
,
The queue Module
program exit with child threads,
Program exit with child threads
running the script,
Running the script
threads and,
Threads
Queue object (multiprocessing),
IPC Tools: Pipes, Shared Memory, and Queues
,
Queues and subclassing
,
Queues and subclassing
queues,
Placing Data on Queues
,
Thread exits in GUIs
,
Placing Callbacks on Queues
,
Passing bound method callbacks on queues
placing callbacks on,
Placing Callbacks on Queues
,
Passing bound method callbacks on queues
placing data on,
Placing Data on Queues
,
Thread exits in GUIs
Quit button,
A “smart” and reusable Quit button
quit method,
tkinter Coding Basics
quopri module,
Python’s Internet Library Modules
R
Radiobutton widget class,
The End of the Tutorial
,
Checkbuttons
,
Radio Buttons
,
Hold onto your variables!
,
Radio Buttons
,
Radio buttons and variables
,
Radio buttons and variables
associated variables,
Checkbuttons
command option,
Radio Buttons
functionality,
The End of the Tutorial
,
Radio Buttons
,
Hold onto your variables!
variables and,
Radio buttons and variables
,
Radio buttons and variables
random access files,
Random access files
,
Random access files
random module,
Future directions
,
Fun with Buttons and Pictures
range function,
Field labels
re module,
The re Module
,
First Examples
,
First Examples
,
First Examples
,
First Examples
,
String Operations Versus Patterns
,
String Operations Versus Patterns
,
String Operations Versus Patterns
,
Module functions
,
Module functions
,
Module functions
,
Module functions
,
Module functions
,
Module functions
,
Module functions
,
Module functions
,
Compiled pattern objects
,
Match objects
,
Match objects
,
Regular expression parsing
compile function,
First Examples
,
Module functions
,
Compiled pattern objects
escape function,
Module functions
findall function,
First Examples
,
String Operations Versus Patterns
,
Module functions
,
Regular expression parsing
finditer function,
Module functions
functionality,
The re Module
match function,
First Examples
,
String Operations Versus Patterns
,
Module functions
,
Match objects
search function,
First Examples
,
String Operations Versus Patterns
,
Module functions
,
Match objects
sub function,
Module functions
subn function,
Module functions
records,
Using Lists
,
Field labels
,
Using Dictionaries
,
Dictionaries of dictionaries
,
Using Formatted Files
,
Utility scripts
,
Using Pickle Files
,
Using Pickle Files
,
Using Per-Record Pickle Files
,
Using Per-Record Pickle Files
,
Using Shelves
,
Using Shelves
,
Adding records
,
Building Record Dictionaries
,
Automating with scripts and modules
adding with SQLite,
Adding records
building dictionaries,
Building Record Dictionaries
,
Automating with scripts and modules
built-in dictionaries,
Using Dictionaries
,
Dictionaries of dictionaries
formatted files,
Using Formatted Files
,
Utility scripts
list-based,
Using Lists
,
Field labels
per-record pickle files,
Using Per-Record Pickle Files
,
Using Per-Record Pickle Files
pickle files,
Using Pickle Files
,
Using Pickle Files
shelves and,
Using Shelves
,
Using Shelves
recursive descent parsing,
Advanced Language Tools
,
Custom Language Parsers
refactoring code,
Augmenting methods
,
Display format
,
Constructor customization
,
Alternative classes
,
Refactoring with functions
,
Refactoring with functions
,
Refactoring with classes
,
Refactoring with classes
,
Refactoring Code for Maintainability
,
Step 3: Putting It All Together—A New Reply Script
alternative classes,
Alternative classes
augmenting methods,
Augmenting methods
with CGI
scripts,
Refactoring Code for Maintainability
,
Step 3: Putting It All Together—A New Reply Script
with classes,
Refactoring with classes
,
Refactoring with classes
constructor customization,
Constructor customization
display format,
Display format
with functions,
Refactoring with functions
,
Refactoring with functions
Register_Handler function,
Registration Implementation
regression test scripts,
A Regression Test Script
,
Running the Test Driver
regular expressions,
Regular Expression Pattern Matching
,
The re Module
,
First Examples
,
First Examples
,
String Operations Versus Patterns
,
String Operations Versus Patterns
,
Using the re Module
,
Regular expression patterns
,
Regular expression patterns
,
Regular expression patterns
,
More Pattern Examples
,
More Pattern Examples
,
Scanning C Header Files for Patterns
,
Scanning C Header Files for Patterns
,
Regular expression parsing
,
Advanced Language Tools
defined,
Regular Expression Pattern Matching
limitations,
Advanced Language Tools
parsing support,
Regular expression parsing
pattern examples,
More Pattern Examples
,
More Pattern Examples
pattern matching techniques,
First Examples
,
First Examples
pattern syntax,
Regular expression patterns
,
Regular expression patterns
re module,
The re Module
,
Using the re Module
,
Regular expression patterns
scanning C header files,
Scanning C Header Files for Patterns
,
Scanning C Header Files for Patterns
string operations versus,
String Operations Versus Patterns
,
String Operations Versus Patterns
remote sites,
Socket pragmatics
,
Downloading Site Directories
,
Downloading Site Directories
,
Uploading Site Directories
,
Uploading Site Directories
,
Deleting Remote Trees
,
Deleting Remote Trees
,
Downloading Remote Trees
,
Finding Python on remote servers
deleting remote trees,
Deleting Remote Trees
,
Deleting Remote Trees
downloading directories,
Downloading Site Directories
,
Downloading Site Directories
downloading remote trees,
Downloading Remote Trees
remote servers,
Socket pragmatics
,
Finding Python on remote servers
uploading directories,
Uploading Site Directories
,
Uploading Site Directories
repeater method,
Using the after Method
ReplaceVisitor class,
Global Replacements in Directory Trees (Visitor)
reporting directory differences,
Reporting Differences and Other Ideas
,
Reporting Differences and Other Ideas
reserved port numbers,
Talking to Reserved Ports
,
Binding reserved port servers
RETR string (FTP),
FTP get and put Utilities
RFC822,
Processing Internet Email
rfc822 module,
Basic email Package Interfaces in Action
RIAs (rich Internet applications),
Python GUI Development Options
,
Python Internet Development Options
,
Other Approaches
rotor module,
Manual data encryption: rotor (defunct)
Route_Event function,
Registration Implementation
rule strings, parsing/unparsing,
Parsing and Unparsing Rule Strings
,
More on the holmes expert system shell
running programs,
Running the pymail2 console client
(see program execution)
BOOK: Programming Python
11.11Mb size Format: txt, pdf, ePub
ads

Other books

Unseaming by Mike Allen
Hardcastle's Traitors by Graham Ison
THE PUPPETEERS OF PALEM by Komarraju, Sharath
Rock Harbor by Carl Phillips
The Saturdays by Elizabeth Enright