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]

C compiler, ISO-compliant, installing Python and 

C library 

    time module and 

C programming language, CPython and 

C++ programming language, extending Python with 

calcsize function (struct module) 

calculator 

calendar function (calendar module) 

calendar module 

    calendar function 

    firstweekday function 

    isleap function 

    leapdays function 

    month function 

    monthcalendar function 

    monthrange function 

    prcal function 

    prmonth function 

    setfirstweekday function 

    timegm function 

    weekday function 

calibrate method (Profile object) 

__call__ method

    PyObject object 

    special method 

call stack

    _getframe function 

    retrieving limit on depth of 

    setting limit on depth of 

    unwinding on exceptions 

callable function (built-in) 

callable types 

callLater method (reactor object) 

cancel method (scheduler object) 

cancelCallLater method (reactor object) 

Canvas class (Tkinter module) 

    bbox method 

    coords method 

    create_line method 

    create_polygon method 

    create_rectangle method 

    create_text method 

    delete method 

    gettags method 

    itemcget method 

    itemconfig method 

    tag_bind method 

    tag_unbind method 

canvas widget 

    lines 

    polygons 

    rectangles 

    text 

capitalize method (string object) 

caret (^)

    bitwise XOR 

    MULTILINE attribute 

    regular expressions  2nd 

case sensitivity 

    filesystems 

    regular expressions 

    strings  2nd 

    Windows os.environ keys 

ceil function

    cmath module 

    math module 

center method (string object) 

.cfg extension, customizing package installation 

cget method

    Font object 

    Widget object 

CGI (Common Gateway Interface) 

    xxx  [See also CGI scripting][See also CGI scripting]

cgi module 

    escape function 

    FieldStorage class 

CGI scripting  2nd 

    Content-Type header 

    cookies 

    error messages 

        cgitb module 

    HTML forms submission 

    output 

    scripts

        performance characteristics 

        Python, installing 

CGIHTTPServer module  2nd 

cgitb module 

    enable function 

    handle function 

char attribute (Event object) 

characters method (ContentHandler object) 

chdir function (os module) 

checkbox widgets 

Checkbutton class (Tkinter module) 

    deselect method 

    flash method 

    invoke method 

    select method 

    toggle method 

checkcache function (linecache module) 

Cheetah package 

    templating language 

Cheetah.Template module 

    Template class 

child widgets 

childNodes attribute (Node object) 

chmod function (os module) 

choice method (Random object) 

choose function (Numeric module) 

chr function (built-in) 

circular imports 

class body 

    attributes 

    class-private variables 

    docstrings 

    function definitions in 

class methods 

class object

    __bases__ attribute 

    __dict__ attribute 

    __doc__ attribute 

    __name__ attribute 

class statement 

class-level methods 

    class 

    static 

class-private variables 

classes 

    how metaclasses create 

    metaclasses of, how Python determines 

classes, classic 

    attribute references 

    bound methods 

    class body 

    class statement 

    inheritance 

    instances of 

    unbound methods 

classes, new-style 

    built-in object type 

    class-level methods 

    inheritance 

        cooperative superclass method calling 

        method resolution order 

    instances of 

        per-instance methods 

classic classes  [See classes, classic]

Classic Python  [See CPython]

classmethod type (built-in)  2nd 

clauses  2nd 

clear command (pdb module) 

clear method

    dictionary object 

    Event object 

clearcache function (linecache module) 

client_address method (BaseRequestHandler object) 

clients 

clip function (Numeric module) 

clock function (time module) 

close function (os module) 

close method

    bsddb module 

    Connection object 

    Cursor object 

    file object 

    fileinput module 

    HTMLParser object 

    HTTPConnection object 

    mmap object 

    sgmllib module 

    socket object 

    Telnet object 

    URL file-like object 

    XMLReader object 

    zipfile module 

closed attribute (file object) 

clrtobot method (Window object) 

clrtoeot method (Window object) 

cmath module 

    acos function 

    acosh function 

    asin function 

    asinh function 

    atan/atan2 functions 

    atanh function 

    ceil function 

    cos function 

    cosh function 

    exp function 

    fabs function 

    floor function 

    fmod function 

    frexp function 

    hypot function 

    ldexp function 

    log function 

    log10 function 

    modf function 

    pow function 

    sin function 

    sinh function 

    sqrt function 

    tan function 

Cmd class (cmd module) 

cmd module 

    attributes 

    Cmd class 

    cmdloop function 

    default function 

    do_help function 

    emptyline function 

    identchars attribute 

    intro attribute 

    lastcmd attribute 

    methods 

    onecmd function 

    postcmd function 

    postloop function 

    precmd function 

    preloop function 

    prompt attribute 

    use_rawinput attribute 

cmdloop function (cmd module) 

cmp function

    built-in  2nd 

    filecmp module 

    mx.DateTime module 

__cmp__ special method 

cmpfiles function (filecmp module) 

co_argcount attribute (code object) 

co_varnames attribute (code object) 

code object

    co_argcount attribute 

    co_varnames attribute 

    exec statement and 

codecs 

codecs module 

    EncodedFile function 

    open function 

coded_value attribute (Morsel object) 

coders-decoders (codecs) 

CodeWarrier Pro 7 C compiler 

coerce function (built-in) 

__coerce__ special method 

collect function (gc module) 

collect_incoming_data method (async_chat object) 

colon (:)

    compound statements 

    dictionaries 

    Unix directory paths 

COM 

    date epoch 

    extending Python with 

COMDate method (DateTime class) 

comma (,)

    dictionaries 

    functions 

    lists 

    plain assignment statements 

    tuples 

command attribute (HTTPServer object) 

command-line options, parsing 

comment attribute (zipfile module) 

comments  2nd 

commit method (Connection object) 

Common Gateway Interface (CGI) 

commonprefix function (os.path module) 

compare method (Text object) 

comparing

    arrays of numbers 

    directory paths 

    files 

    numbers  2nd 

compile function

    built-in 

        exec statement and 

    re module  2nd 

        flags argument 

__complex__ special method 

complex type (built-in)  2nd 

compound statements 

compress function

    Numeric module 

    zlib module 

compress_size attribute (zipfile module) 

compress_type attribute (zipfile module) 

compression 

    gzip module 

    zipfile module 

    zlib module 

concat method (operator module) 

concatenate function (Numeric module) 

concatenating

    sequences 

    strings 

Condition class (threading module)  2nd  3rd 

    acquire method 

    notify method 

    notifyAll method 

    release method 

    wait method 

condition command (pdb module) 

config method

    Font object 

    Widget object 

connect function (DBAPI-compliant modules) 

connect method

    FTP object 

    SMTP object 

    socket object  2nd 

Connection object (DBAPI-compliant modules)

    close method 

    commit method 

    cursor method 

    rollback method 

connectionLost method (Protocol object) 

connectionMade method (Protocol object) 

console I/O 

    Console module 

    curses package 

    msvcrt module 

    WConio module 

Console module 

constructor  [See __init__ special method]

constructor function (copy_reg module) 

contact argument (distutils setup function) 

contact_email argument (distutils setup function) 

container methods

    __contains__ 

    __delitem__ 

    __getitem__ 

    __iter__ 

    __len__ 

    __setitem__ 

container widgets 

    frames 

    top-level windows 

containers 

    returning number of items in 

    slicing 

    special methods for 

contains method (operator module) 

__contains__ special method 

ContentHandler class (xml.sax package) 

    characters method 

    endDocument method 

    endElement method 

    endElementNS method 

    startDocument method 

    startElement method 

    startElementNS method 

continuation lines 

continue command (pdb module) 

continue statement 

control flow statements 

    break statement 

    continue statement 

    for statement 

        iterators 

        list comprehensions 

        range/xrange functions 

    if statements 

    pass statement 

    try statement 

    while statements 

converting

    integers to hexadecimal strings 

    numbers 

        to floating-point 

        to integers 

    numeric operators 

    strings  2nd 

        date/time types 

        to floating-point 

        to Unicode 

    time values 

convolve function (Numeric module) 

Cookie module 

    Morsel class 

    SimpleCookie class 

    SmartCookie class 

cookies 

Cooledit program 

Coordinated Universal Time (UTC) 

coords method (Canvas object) 

copy function

    copy module 

    shutil module 

copy method

    array object 

    dictionary object 

    Font object 

copy module

    copy function 

    deepcopy function 

copy_reg module

    constructor function 

    pickle function 

    pickling customization with 

copy2 function (shutil module) 

copyfile function (shutil module) 

copyfileobj function (shutil module) 

copying

    deep copying 

    file permission bits 

    files 

    types 

copymode function (shutil module) 

copystat function (shutil module) 

copytree function (shutil module) 

cos function

    cmath module 

    math module 

cosh function

    cmath module 

    math module 

count method

    list object 

    string object 

countOf method (operator module) 

cPickle module 

    dump/dumps functions 

    load/loads functions 

    Pickler function 

    pickling customization with copy_reg module 

    Unpickler function 

.cpp files 

CPython (Classic Python)  2nd 

    C-coded Python extensions

        abstract layer functions 

        arguments 

        building/installing 

        concrete layer functions 

        creating Python values 

        defining types 

        exceptions 

        functions 

        module initialization 

        overview 

        reference counting 

    CNRI Open Source GPL-Compatible License 

    embedding 

        installing extension modules 

        Python initialization/finalization 

        running Python code 

        setting arguments 

    extending

        in other languages 

        with Python C API 

    installing 

    reference counts 

CRC checksums (cyclic-redundancy check checksums) 

create_line method (Canvas object) 

create_polygon method (Canvas object) 

create_rectangle method (Canvas object) 

create_socket method (dispatcher object) 

create_text method (Canvas object) 

createComment method (Document object) 

createElement method (Document object) 

createTextNode method (Document object) 

creating

    dictionaries 

    directory paths 

    file object 

        designating buffering 

        sequential/nonsequential access 

        specifying file mode 

    iterators 

    lists 

    pipes 

    prebuilt distributions with distutils 

    tuples 

cross-platform portability  [See portability]

cross-platform programs, rich-text I/O functionality 

cross_correlate function (Numeric module) 

cStringIO function (cStringIO module) 

cStringIO module  2nd 

ctime function (time module) 

curdir attribute (os module) 

curly braces ({})

    dictionaries 

    dictionary creation 

    line continuation 

    python command-line syntax 

currentframe function (inspect module) 

currentThread function (threading module) 

curselection method (Listbox object) 

curses package 

curses programming 

cursor method (Connection object) 

Cursor object

    close method 

    DBAPI 

    description attribute 

    execute method 

    executemany method 

    fetchall method 

    fetchmany method 

    fetchone method 

    rowcount attribute 

customization 

cwd method (FTP object) 

CXX library 

cyclic garbage loops 

cyclic-redundancy check checksums (CRC checksums) 

Cygwin, building Python for 

Категории