Read Programming Python Online

Authors: Mark Lutz

Tags: #COMPUTERS / Programming Languages / Python

Programming Python (220 page)

BOOK: Programming Python
9.59Mb size Format: txt, pdf, ePub
ads
command-line pipes,
Adding a GUI As a Separate Program: Command Pipes
,
Other uses for threaded pipe GUIs
defined,
Changing Shell Variables
sockets example,
Adding a GUI As a Separate Program: Sockets (A Second
Look)
,
Adding a GUI As a Separate Program: Sockets (A Second
Look)
,
Spawning Clients in Parallel
,
Preview: Denied client connections
spawned threads,
“Telling the Monkeys What to Do”
(see threads)
spelling checkers,
Ideas for Improvement
Spinbox widget class,
Other Widgets and Options
splitting files,
Splitting Files Portably
,
Splitting Files Portably
,
Usage Variations
,
Usage Variations
SQL databases,
Persistence Options in Python
,
SQL Database Interfaces
,
SQL Database Interfaces
,
SQL Interface Overview
,
SQL Interface Overview
,
An SQL Database API Tutorial with SQLite
,
Running updates
,
Building Record Dictionaries
,
Automating with scripts and modules
,
Tying the Pieces Together
,
Tying the Pieces Together
,
Loading Database Tables from Files
,
Python versus SQL
,
SQL Utility Scripts
,
Using the scripts
,
SQL Resources
additional resources,
SQL Resources
API tutorial with SQLite,
An SQL Database API Tutorial with SQLite
,
Running updates
building record dictionaries,
Building Record Dictionaries
,
Automating with scripts and modules
code consolidation,
Tying the Pieces Together
,
Tying the Pieces Together
functionality,
Persistence Options in Python
,
SQL Database Interfaces
,
SQL Database Interfaces
interface overview,
SQL Interface Overview
,
SQL Interface Overview
loading database tables from files,
Loading Database Tables from Files
,
Python versus SQL
SQL utility scripts,
SQL Utility Scripts
,
Using the scripts
SQLAlchemy system,
Other Database Options
,
SQL Database Interfaces
SQLite database system,
An SQL Database API Tutorial with SQLite
,
Getting started
,
Making databases and tables
,
Adding records
,
Running queries
,
Running queries
,
Running updates
adding records,
Adding records
getting started,
Getting started
making databases/tables,
Making databases and tables
overview,
An SQL Database API Tutorial with SQLite
running queries,
Running queries
,
Running queries
running updates,
Running updates
SQLObject system,
Other Database Options
,
SQL Database Interfaces
,
ORMs: Object Relational Mappers
SSL (Secure Sockets Layer),
Security Protocols
ssl module,
Python’s Internet Library Modules
,
Security Protocols
stacks,
Implementing Stacks
,
Built-in Options
,
Built-in Options
,
Built-in Options
,
A Stack Module
,
A Stack Module
,
A Stack Class
,
A Stack Class
,
Customization: Performance Monitors
,
Optimization: Tuple Tree Stacks
,
Optimization: Tuple Tree Stacks
,
Optimization: In-Place List Modifications
,
Optimization: In-Place List Modifications
,
Timing the Improvements
,
More on performance analysis
,
Evaluating expressions with stacks
,
Evaluating expressions with stacks
built-in options,
Built-in Options
,
Built-in Options
customizing performance monitors,
Customization: Performance Monitors
defined,
Implementing Stacks
defining Stack class,
A Stack Class
,
A Stack Class
defining stack module,
A Stack Module
,
A Stack Module
evaluating expressions with,
Evaluating expressions with stacks
,
Evaluating expressions with stacks
in-place list modifications,
Optimization: In-Place List Modifications
,
Optimization: In-Place List Modifications
as lists,
Built-in Options
timing improvements,
Timing the Improvements
,
More on performance analysis
tuple tree,
Optimization: Tuple Tree Stacks
,
Optimization: Tuple Tree Stacks
Stajano, Frank,
The Next Five Chapters
standard dialogs,
Standard (Common) Dialogs
,
Other standard dialog calls
standard streams,
Redirecting Streams to Files and Programs
(see input/output streams)
start command,
Shell command limitations
,
Using the DOS start command
state information,
Process Exit Status and Shared State
,
Thread Exits and Shared State
,
Thread Exits and Shared State
,
Saving State Information in CGI Scripts
,
Combining Techniques
,
URL Query Parameters
,
Hidden Form Input Fields
,
HTTP “Cookies”
,
Handling cookies with the urllib.request module
,
Server-Side Databases
,
Extensions to the CGI Model
,
Combining Techniques
,
Implementation Overview
,
Passing State Information in URL Link Parameters
,
Passing State Information in URL Link Parameters
,
Passing State Information in HTML Hidden Input Fields
,
Other Approaches
,
XML and HTML Parsing
combining techniques,
Combining Techniques
extensions to CGI model,
Extensions to the CGI Model
hidden form input fields,
Hidden Form Input Fields
HTTP cookies,
HTTP “Cookies”
,
Handling cookies with the urllib.request module
Internet applications and,
Other Approaches
passing with PyMailCGI,
Implementation Overview
,
Passing State Information in URL Link Parameters
,
Passing State Information in URL Link Parameters
,
Passing State Information in HTML Hidden Input Fields
process exit status,
Process Exit Status and Shared State
saving in CGI scripts,
Saving State Information in CGI Scripts
,
Combining Techniques
SAX parsers and,
XML and HTML Parsing
server-side databases,
Server-Side Databases
thread exits,
Thread Exits and Shared State
,
Thread Exits and Shared State
URL query parameters,
URL Query Parameters
status codes, exit,
Shell Command Exit Status Codes
,
Exit status with subprocess
status messages, PyMailGUI program,
Multiple Windows and Status Messages
,
Multiple Windows and Status Messages
STOR string (FTP),
FTP get and put Utilities
str object type,
Other String Concepts in Python 3.X: Unicode and bytes
,
String types in the Text widget
,
String types in the Text widget
,
The problem with treating text as bytes
,
The problem with treating text as bytes
,
String Method Utilities
,
String Method Utilities
functionality,
Other String Concepts in Python 3.X: Unicode and bytes
string method calls,
String Method Utilities
,
String Method Utilities
Text widget and,
String types in the Text widget
,
String types in the Text widget
usage considerations,
The problem with treating text as bytes
,
The problem with treating text as bytes
string methods,
String Method Basics
,
String Method Basics
,
Common os.path Tools
,
String Method Utilities
,
String Method Utilities
,
String Method Utilities
,
String Method Utilities
,
String Method Utilities
,
String Method Utilities
,
String Method Utilities
,
String Method Utilities
,
String Method Utilities
,
String Method Utilities
,
String Method Utilities
,
String Method Utilities
,
String Method Utilities
,
Templating with Replacements and Formats
,
Templating with Replacements and Formats
,
Parsing with Splits and Joins
,
Parsing with Splits and Joins
,
Summing Columns in a File
,
Summing with dictionaries
,
Summing Columns in a File
,
Parsing and Unparsing Rule Strings
,
More on the holmes expert system shell
,
String Operations Versus Patterns
,
String Operations Versus Patterns
basics overview,
String Method Basics
,
String Method Basics
endswith method,
String Method Utilities
find method,
String Method Utilities
format method,
String Method Utilities
isdigit method,
String Method Utilities
isupper method,
String Method Utilities
join method,
Common os.path Tools
,
String Method Utilities
,
Parsing with Splits and Joins
,
Parsing and Unparsing Rule Strings
pattern matching versus,
String Operations Versus Patterns
,
String Operations Versus Patterns
performance and,
More on the holmes expert system shell
replace method,
String Method Utilities
,
Templating with Replacements and Formats
templating with
replacements/formats,
Templating with Replacements and Formats
rjust method,
String Method Utilities
rstrip method,
String Method Utilities
split method,
String Method Utilities
,
Parsing with Splits and Joins
,
Summing Columns in a File
startswith method,
String Method Utilities
strip method,
String Method Utilities
summing columns in files,
Summing Columns in a File
,
Summing with dictionaries
upper method,
String Method Utilities
string module,
String Method Basics
,
String Method Utilities
,
String Method Utilities
,
Templating with Replacements and Formats
,
More on the holmes expert system shell
ascii_uppercase constant,
String Method Utilities
background information,
More on the holmes expert system shell
preset variables,
String Method Basics
string methods and,
String Method Utilities
Template feature,
Templating with Replacements and Formats
strings,
Using Query Strings and urllib
,
Using Query Strings and urllib
,
Directories, string formatting, and security
,
Directories, string formatting, and security
,
String Method Basics
,
Text is a Python string
,
String positions
,
Unicode text in strings
,
Unicode text in strings
,
Converting strings in CGI scripts
,
Pickled Objects
,
Keys must be strings (and str)
,
Strategies for Processing Text in Python
,
Regular Expression Pattern Matching
(see also code strings; regular expressions)
converting,
String Method Basics
,
Converting strings in CGI scripts
converting objects to,
Pickled Objects
formatting,
Directories, string formatting, and security
,
Directories, string formatting, and security
functionality,
Strategies for Processing Text in Python
query,
Using Query Strings and urllib
,
Using Query Strings and urllib
shelve constraints,
Keys must be strings (and str)
specifying positions,
String positions
Text widget as,
Text is a Python string
Unicode text in,
Unicode text in strings
,
Unicode text in strings
StringVar class,
tkinter “Variables” and Form Layout Alternatives
strop module,
More on the holmes expert system shell
struct module,
Parsing packed binary data with the struct module
,
Parsing packed binary data with the struct module
,
Parsing packed binary data with the struct module
,
Python’s Internet Library Modules
,
Using a reusable form-layout class
functionality,
Python’s Internet Library Modules
parsing binary data,
Parsing packed binary data with the struct module
,
Parsing packed binary data with the struct module
serial ports and,
Using a reusable form-layout class
unpack method,
Parsing packed binary data with the struct module
BOOK: Programming Python
9.59Mb size Format: txt, pdf, ePub
ads

Other books

Tied Up in Knots by Mary Calmes
Murder at Swann's Lake by Sally Spencer
Scarlet Imperial by Dorothy B. Hughes
Code Name Komiko by Naomi Paul
Enigma Black by Furlong-Burr, Sara
Lord of the Highlands by Wolff, Veronica
Nemesis by Tim Stevens