[Python编程(第4版)].(Programming.Python.4th.Edition).Mark.Lutz.文字版

(yzsuai) #1

I
IANA (Internet Assigned Numbers Authority),
786
Icon language, 1547
IDLE interface
functionality, 366
running GUI programs, 371
text editor positioning issues, 687
IETF (Internet Engineering Task Force), 786
images
adding with CGI scripts, 1146–1149
displaying, 484–491
processing with PIL, 491–505
scrolling, 560
thumbnails, 496–505, 557–560
in toolbars, 520–521
ImageTk module, 557
imaplib module, 786, 900
import function, 473
independent programs
sockets and, 238
starting, 254
independent windows, 476–477
indexes, 531
inheritance
classes and, 29
SimpleEditor class and, 537
Input class, 124
input files, 141–142, 689
input forms
grid basics, 565
laying out, 451–454
input function, 113
input/output streams
capturing stderr stream, 127
CGI scripts and, 1128
io.BytesIO class, 126
io.StringIO class, 126
output stream buffering, 218, 231–233
PyMailCGI program and, 1286
redirecting print calls, 127
redirecting to files/programs, 114–119
redirecting to Python objects, 123–126
redirecting to widgets, 623–628
redirecting with os.popen, 128, 129
redirecting with subprocess, 128, 130–132
redirection utility, 828–839
sockets looking like, 827–839
standard streams, 103, 113


user interaction and, 119–123
insert command (SQL), 1334
Inter-Process Communication (see IPC)
interact function, 115
Internationalization
i18n message headers, 933–935, 1234
mail content support, 1017, 1055–1058
Internet Assigned Numbers Authority (IANA),
786
Internet Engineering Task Force (IETF), 786
Internet Service Providers (ISPs), 292, 874,
901
Internet-related scripting
development options, 777–780
handling multiple clients, 802–826
library modules and, 785–786
protocols and, 782–785
Python file server, 840–851
sockets and, 781–782, 787–802
sockets like files/streams, 827–839
IntVar class, 454
io.BytesIO class, 126
io.StringIO class, 126
IPC (Inter-Process Communication)
anonymous pipes, 223, 224–233
bidirectional, 228–231
FastCGI and, 1182
multiprocessing module and, 224, 248–
254
named pipes, 223, 234–236
overview, 222
shared memory, 223
signals, 223, 240–243
sockets, 76, 223, 236–240, 781
IronPython
development options, 779
integration considerations, 1485, 1539
overview, 361, 1513
ISPs (Internet Service Providers), 292, 874,
901
iterators, line, 101, 143–144, 163

J
Java language, 1548
JavaFX platform, 362
joining files, 286–289–292
Jones, Christopher A., 1435
Jython
development options, 779

1566 | Index

Free download pdf