Python Cookbook

[SYMBOL] [A] [B] [C] [D] [E] [F] [G] [H] [I] [J] [K] [L] [M] [N] [O] [P] [Q] [R] [S] [T] [U] [V] [W] [X] [Y] [Z]

tabs, conversion to or from spaces  2nd 

take wrapper 

target 

taxonomy 

TCP clients, writing 

TCP servers, writing 

TeeFilelikeWrapper class 

Telnet protocol 

    security considerations 

telnetlib module 

Template-Method design pattern 

templating 

    YAPTU (Yet Another Python Templating Utility) 

ternary operator (C language), simulating in Python  2nd 

testing and debugging  [See debugging and testing]2nd  [See debugging and testing]

TestThread class 

text  2nd  [See also strings]

    case conversion 

    character encodings  2nd 

    file size and memory 

    file-based transformations 

    format, transformation of 

    international standard encodings 

    operations 

    parsing 

    reindenting blocks of 

    searchin for and replacing in a file 

    sockets, retrieval from 

    sources 

    Unicode, encoding as 

text and binary file handling in Python 

text files

    file reading functions 

    line terminators, different OS's 

    reading by paragraphs 

    reading operations, line by line 

text mode and binary mode 

Text widget 

Thread class 

thread module  2nd 

threading module 

    synchronization constructs 

threading.Condition object 

threading.Event objects 

threads 

    allocation of storage for 

    authentication as another principal on Windows 

    combining with asynchronous I/O and Tkinter 

    concurrent processing, and 

    GIL (Global Interpreter Lock) 

    locking and unlocking 

    multithreaded programming 

    multithreaded read access with write locks 

    Queue module, and 

    running time-consuming functions on separate threads 

    synchronization of methods in an object 

    terminating 

time module 

time.clock 

time.sleep 

time.time 

timeo 

timeoutsocket module 

Timestamper class 

title (string function) 

Tix 

Tkinter 

    combining with asynchronous I/O and threads 

    creating dialog boxes 

    creating menus 

    embedding inline GIFs 

    getting around limitations 

    IntVar 

    listboxes, supporting multiple values per row 

    PhotoImage objects 

tkSimpleDialog module 

token module 

tokenize module  2nd 

tokenizer module

    Python source, colorizing with 

tokens  2nd 

toupper (string object methods) 

traceback module  2nd 

    wrapping tracebacks in HTML 

tracebacks 

    acquiring more information from 

    traceback objects 

tracing 

tracing across platforms 

tracking_classes dictionary 

translate  2nd 

triple quotes 

try/except for validation problems 

try/finally 

    constructs (Windows registry recipe) 

tuple 

TupleDescriptor class 

tuples

    for representing RGB colors 

    tuple packing and unpacking 

two-dimensional arrays, transposition 

type 

type checking and polymorphism 

typemap 

Категории