#Index

A

abstract base classes, 4, 19
animation, 40, 42-43
argparse module, 22
arguments, 10, 12, 22
arrays, 29, 37-38
asyncio module, 33
audio, 40-41, 42

B

beautifulsoup library, 35
binary representation, 7, 8
bitwise operators, 8, 31
bytes, 22-23, 25, 28-29

C

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

D

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

E

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

F

files, 22-29, 34, 46
filter function, 11
flask library, 36
floats, 4, 6, 7
format, 6-7, 37
functools module, 11, 12, 13, 16
futures, 30

G

generators, 4, 11, 17
global keyword, 12
gui, 48

H

hashable, 15, 16
hexadecimal representation, 7, 8, 28

I

image, 35, 39-40, 42-43
imports, 12
inline, 11, 15, 20
input function, 22
introspection, 31
ints, 4, 7, 8, 28
is operator, 16
iterable, 4, 18, 19
iterator, 3-4, 11, 17
itertools module, 3, 8

J

json, 25, 36, 46

L

lambda, 11
list comprehension, 11
lists, 1-2, 4, 11, 19, 21
locks, 30, 33
logging, 35

M

main function, 1, 49
map function, 11, 31
math module, 7
memoryviews, 29
metaclass attribute, 32
metaprogramming, 31-32

N

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

O

open function, 17, 22-23, 25, 26, 28
operator module, 31
os commands, 23-25, 34

P

pandas library, 44-48
partial function, 12, 20
paths, 23-24, 34
pickle module, 25
pillow library, 39-40
plotting, 34, 46, 47-48
print function, 22
profiling, 36-37
progress bar, 34
property decorator, 15
pygame library, 42-43

Q

queues, 29, 30, 33

R

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

S

scope, 10, 12, 20
scraping, 35, 43, 46, 47-48
sequence, 4, 18-19
sets, 2, 4, 11, 19, 21, 31
shell commands, 25
sleep function, 34
sortable, 1, 16
splat operator, 10-11
sql, 27, 46
statistics, 7, 37-38, 44-48
strings, 4-7, 14
struct module, 28-29
subprocess module, 25
super function, 14
sys module, 13, 21-22

T

table, 26, 27, 34, 37-38, 45-46
template, 6, 36
threading module, 30
time module, 34, 36
tuples, 3, 4, 11
type, 4, 31-32
type annotations, 15

W

wave module, 40-41
web, 36