current working directory
accessing, 103
command lines and, 106
defined, 104
import paths and, 104
CXX system, 1513
Cygwin system
C extension module, 1488
C++ extension class, 1505
forking processes, 180, 185, 804
running code strings, 1520
Cython system, 1485, 1513
D
Dabo builder, 361
data structures
binary trees, 1385–1390
graph searching, 1390–1395
implementing sets, 1373–1383
implementing stacks, 1360–1373
permuting sequences, 1395–1397
reversing/sorting sequences, 1397–1402
subclassing built-in types, 1383–1385
databases, 1330
(see also SQL databases)
additional information, 36
creating with SQLite, 1334
displaying with pprint module, 13
freely available interfaces, 1330
server-side, 1181
db.keys method, 13
DBM files
defined, 1303, 1305
shelve constraints and, 1323
standard operations, 1307
Unicode and, 1317
usage considerations, 1305–1308
dbm module, 1306, 1308, 1315
DCOM (Distributed Component Object
Model), 779
deadlocks, output stream buffering and, 231–
233
debugging CGI scripts, 1161–1163
delete statement (SQL), 1338
deleting remote trees, 895–898
dialog module, 438
dialogs
custom, 439–443
flavors of, 426
generating on demand, 430–434
printing results, 434–436
PyEdit text editor, 677, 683, 684, 685
reusable Quit button, 429
selecting colors on the fly, 437
standard/common, 426–438
dialogTable module, 431, 434
dictionaries
building, 1339–1342
of dictionaries, 12–14
implementing graph searching, 1390
lists of, 10
making, 9
moving sets to, 1378–1382
nested structures, 11
record examples, 9
running code strings in, 1526
summing with, 1411
dictionary iterators, 13
dir command
filename patterns, 165
functionality, 78
usage example, 95
dirdiff tool, 311–313
directories
displaying images in, 495
finding differences, 309–311
name conventions, 1143
reporting differences in, 317–319
scanning, 272
transferring with ftplib, 874–892
walking, 164–168, 330–342
web-based interfaces and, 63–64
directory paths
backslashes and, 88
scanning, 274–276
scripts and, 105
splitting/joining listing results, 168
directory tools
handling Unicode filenames, 172–175
overview, 163
walking directory trees, 168–172
walking one directory, 164–168
directory trees
cleaning up bytecode files, 324–327
comparing, 308–319
copying, 304–308
editing files in, 334–336
finding differences, 311–313
Index| 1561