12.07.2015 Views

Think Python - Denison University

Think Python - Denison University

Think Python - Denison University

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Index 209map pattern, 93, 100map to, 169mapping, 90, 100, 131Markov analysis, 130mash-up, 131math function, 18max function, 117, 118McCloskey, Robert, 72MD5 algorithm, 143membershipbinary search, 101bisection search, 101dictionary, 104list,90set,104memo, 109, 113mental model, 200Menubutton widget, 188metaphor, method invocation, 161metathesis, 124method, 75, 79, 159, 167cmp , 171str ,163, 172add, 163append, 92, 98, 172, 173close, 136, 139, 141config, 183count, 76extend, 92get, 105init,162, 170, 172, 174items,119join, 95, 173keys, 106mro, 177pop, 94, 173radd, 165read, 141readline, 81, 141remove, 94replace, 125setdefault, 109sort,92, 99, 121, 174split,95, 116string,79strip,82, 125translate, 125update, 119values, 104void, 93method append, 101method resolution order,177method syntax, 160method, bound, 187method, list,92min function, 117, 118model, mental, 200modifier, 155, 158module, 18, 26anydbm, 139bisect, 101copy, 149datetime, 158Gui, 181HTMLParser, 193Image, 192os, 137pickle, 135, 139pprint, 112profile, 132random, 100, 121, 126, 174reload, 142, 196shelve, 140, 144string,125structshape, 122urllib, 143, 193Visual, 167vpython, 167World, 151module object, 18, 141module, writing,141modulus operator, 39, 46Monty <strong>Python</strong> and the Holy Grail,154MP3, 143mro method, 177multilinestring, 35, 196multiple assignment, 63, 68, 110multiplicity(inclass diagram), 176, 178mutability, 74, 90, 92, 97, 111, 115, 122, 148mutable object, asdefault value, 167NameError, 23, 198natural language, 4, 8negative index, 72nested conditional, 42, 47nested list,89, 91, 100newline, 45, 63, 173Newton’s method, 66None special value, 24, 52, 60, 93, 94not operator, 40

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!