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]

EAFP (Easier to Ask Forgiveness than Permission) 

email

    IMAP inbox, polling and display of sender, subject 

    inspection and cleanup on a POP3 server 

    multipart MIME email, sending 

        inclusion of files in the current directory 

        order of calls to writer 

    sending in HTML and plaintext format 

email module  2nd 

embedded code blocks, delineation using [?? ??] and [!! !!] 

embedded expressions, evaluating 

empty string ('') joiner 

encodings  2nd 

end-of-line characters

    files, counting lines using 

end-of-line characters, automatic conversion on imported modules 

end-of-line characters, different OS's 

endElement 

EndElementHandler 

enhance_method 

EnsureDispatch 

entries, adding to a dictionary 

enum type 

Enumeration class 

enumerations, simulating in Python 

EnumValue 

error streams, capturing from a Unix shell command 

escape (cgi module)  2nd 

escape_string 

escaping of characters

    cgi scripts 

    quotation marks, minidom 

event-basing of GUI toolkits 

every 

exc_info 

_ _excepthook_ _ 

exceptions

    automatic debugging 

exec statement

    activating plug-ins, risks associated with use for 

execute 

expandtabs (string method) 

Expat  2nd 

expressions

    evaluating code within strings 

extending Python  2nd  [See also C-coded Python extensions]

    C arrays, translating Python sequences into 

    coding the methods of a Python class in C 

    debugging memory problems 

    dynamically loaded C extensions, debugging with gdb 

    implementing a simple extension type in C 

    implementing C function callbacks to a Python function 

    module-building tools 

    Python sequences, accessing item-by-item with the iterator protocol 

    returning none from a Python-callable C function 

    using SWIG-generated modules in a multithreaded environment 

Extensible Stylesheet Language Transformations  [See XSLT]

extension modules 

ExtensionClass class 

ExtensionClass.Base 

extract_stack 

    output of 

Категории