#Index

A

abstract base classes, 4, 19
all function, 11
animation, 40
any function, 11
argparse module, 22
arguments, 10
arrays, 29
audio, 40-41

B

basic script template, 42
beautifulsoup library, 35
binary representation, 8
bitwise operators, 8
bottle library, 36
bytes, 28

C

cache, 13
callable, 17
class, 4, 14-19, 31-32
closure, 12
collection, 4, 18
collections module, 2, 3, 4, 19, 29
combinatorics, 8
command line arguments, 22
comparable, 16
comprehension, 11
context manager, 17
copy function, 15
coroutine, 33
counter, 2, 4, 12, 17
csv module, 26, 34
curses module, 34

D

dataclasses module, 15
datetime module, 8-9
decorator, 13
deques, 29
dictionaries, 2, 11
duck types, 16-19

E

enum module, 19-20
enumerate function, 3
eval function, 33
exceptions, 20-21, 23

F

files, 23
filter function, 11
floats, 4, 6, 7
format, 6-7
functools module, 11, 12, 13, 16
futures, 30

G

generators, 4, 11
global keyword, 12

H

hashable, 16
hexadecimal representation, 8

I

image, 39
inline, 11-12
input function, 22
introspection, 31
ints, 4, 7, 8
is operator, 16
iterable, 4, 18
iterator, 3, 17
itertools module, 3, 8

J

json module, 25

L

lambda, 11
list comprehension, 11
lists, 1-2, 11
locks, 29
logging, 35

M

main function, 1, 41
map function, 11
math module, 7
memoryviews, 29
metaclass attribute, 32
metaprograming, 31-32
mysql library, 26

N

namedtuples, 3
nonlocal keyword, 12
numpy module, 37-38

O

open function, 22-23
operator module, 12, 31
os commands, 24-25
os module, 23, 24-25

P

partial function, 12, 20
pass keyword, 14, 34, 42
path, 23-24
pickle module, 25
pillow library, 39
plotting, 34
print function, 22
profiling, 36-37
progress bar, 34
property decorator, 15

Q

queues, 30

R

random module, 8
ranges, 3
recursion, 13
reduce function, 11
regular expressions, 5-6
requests library, 35, 36

S

scraping, 35
sequence, 4, 18, 19
sets, 2, 11
shell commands, 25
sleep function, 34
slots attribute, 15
sortable, 1, 16
splat operator, 10-11
sqlite module, 27
statistics module, 7
strings, 5
struct module, 28-29
subprocess module, 25
super function, 14
synthesizer, 41
sys module, 15, 21, 22

T

table, 34
template function, 36
threading module, 30
time module, 34, 36
tuples, 3, 11
type, 4, 31

W

wave module, 40-41
web, 36