Python in a Nutshell, Second Edition (In a Nutshell)

[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]

backslash (\)

    directory paths 

        Windows 

    line continuation 

    regular expressions 

    string literals 

backtick (`), string conversion 

backward compatibility 

    exception objects, strings as 

base64 module 

    decode function 

    decodestring function 

    encode function 

    encodestring function 

BaseHandler class 

BaseHTTPRequestHandler class 

BaseHTTPServer module  2nd 

    web server implementation 

basename function (os.path module) 

BaseRequestHandler class (SocketServer module) 

    client_address method 

    handle method 

    request method 

    server method 

Bastion class (Bastion module) 

Bastion module 

    Bastion class 

bbox method (Canvas object) 

benchmarking  2nd 

Berkeley Database library  [See BSD DB]

binaries

    downloading 

    installing from 

    third-party installers for various platforms 

Binary class (xmlrpclib module) 

binary data, encoding as text 

    base64 module 

    quopri module 

    uu module 

binary file mode 

binary function (xmlrpclib module) 

bind method

    socket object 

    Widget object 

bind_all method (Widget object) 

binding, references 

bisect function (bisect module) 

bisect module

    bisect function 

    insort function 

BitmapImage class 

BlackAdder IDE 

blank lines 

blitz function (Numeric module) 

Boa Constructor IDE 

body method (NNTP object) 

bool function (built-in)  2nd 

Boolean class (xmlrpclib module) 

Boolean context 

boolean function (xmlrpclib module) 

Boolean values 

Boost Python Library 

bound methods  2nd  [See also methods][See also methods]

braces  [See curly braces]

brackets  [See square brackets]

break command (pdb module) 

break statement 

browsers 

BSD DB (Berkeley Database library)  2nd 

bsddb module 

    btopen function 

    close method 

    first function 

    has_key function 

    hasopen function 

    keys function 

    last method 

    next method 

    previous function 

    rnopen function 

    set_location function 

btopen function (bsddb module) 

buffer function (built-in) 

buffering

    cmd.py and 

    writing buffer out to OS 

build_opener function (urllib2 module) 

built-in exception classes

    ArithmeticError 

    AssertionError 

    AttributeError 

    EnvironmentError 

    Exception 

    FloatingPointError 

    ImportError 

    IndentationError 

    IndexError 

    IOError 

    KeyboardInterrupt 

    KeyError 

    LookupError 

    MemoryError 

    NameError 

    NotImplementedError 

    OSError 

    OverflowError 

    StandardError 

    SyntaxError 

    SystemError 

    TypeError 

    UnboundLocalError 

    UnicodeError 

    ValueError 

    WindowsError 

    ZeroDivisionError 

built-in functions 

    abs 

    apply 

    bool  2nd 

    buffer 

    callable 

    chr 

    cmp  2nd 

    coerce 

    compile 

        exec statement and 

    delattr 

    dir 

    divmod  2nd 

    encode 

    eval  2nd 

    execfile 

    filter 

    getattr 

    globals 

    hasattr 

    hash  2nd 

    hex 

    id 

    __import__  2nd 

    input  2nd 

        safer variant of 

    isinstance  2nd  3rd 

    issubclass  2nd 

    iter  2nd 

    len  2nd  3rd 

    locals 

    map 

    max  2nd 

    min  2nd 

    oct 

    open

        creating file object 

        restricted execution 

    ord 

    pow  2nd 

    range  2nd 

    raw_input  2nd 

    reduce 

    reload  2nd 

    repr 

    round 

    setattr 

    slice 

    unichr 

    vars 

    xrange  2nd 

    zip 

built-in modules 

    __import__ function 

    loading 

built-in types 

    classmethod  2nd 

    complex  2nd 

    dict  2nd 

    file (open)  2nd 

    float  2nd 

    int  2nd 

    list  2nd 

    long  2nd 

    object  2nd 

    property  2nd 

    staticmethod  2nd  3rd 

    str  2nd  3rd 

        date/time string conversions 

    super  2nd 

    tuple  2nd 

    type  2nd  3rd 

    unicode  2nd  3rd  4th 

built-in variables

    __debug__ 

__builtin__ class 

__builtin__ module  2nd  [See also built-in functions][See also built-in functions]

    __builtins__ attribute 

__builtins__ attribute (built-in module) 

Button class (Tkinter module) 

    flash method 

    invoke method 

byteswap method (array object) 

byteswapped method (array object) 

Категории