forked from gto76/python-cheatsheet
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex_tmp.txt
More file actions
149 lines (129 loc) · 4.35 KB
/
index_tmp.txt
File metadata and controls
149 lines (129 loc) · 4.35 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
Index
-----
### A
**abstract base classes, [4](#abc), [19](#collectionsabcsequence)**
**all function, [11](#anyall)**
**animation, [39](#animation)**
**any function, [11](#anyall)**
**argparse module, [22](#argparse)**
**arguments, [10](#arguments)**
**arrays, [28](#array)**
**audio, [39](#audio)-[40](#writefloatsamplestowavfile)**
### B
**basic script template, [41](#basicscripttemplate)**
**beautifulsoup4 library, [34](#scraping)**
**binary representation, [8](#binhex)**
**bitwise operators, [8](#bitwiseoperators)**
**bottle library, [35](#web)**
**bytes, [27](#bytes)-[28](#readbytesfromfile)**
### C
**cache, [13](#lrucache)**
**csv module, [25](#csv), [33](#printsacsvfileasanasciitable)**
**callable, [17](#callable)**
**chars, [5](#char)**
**class, [14](#class)-[15](#property)**
**closure, [12](#closure)**
**collection, [18](#collection)**
**combinatorics, [8](#combinatorics)**
**command line arguments, [22](#commandlinearguments)**
**comprehension, [11](#comprehension)**
**context manager, [17](#contextmanager)**
**copy function, [15](#copy)**
**coroutine, [32](#coroutine)**
**curses module, [33](#curses)**
### D
**dataclass decorator, [15](#dataclass)**
**datetime module, [8](#datetime)-9**
**decorator, [13](#decorator)**
**deques, [29](#deque)**
**dictionaries, [2](#dictionary)**
**duck types, [16](#ducktypes)-[19](#collectionsabcsequence)**
### E
**enum module, [19](#enum)-[20](#inline-2)**
**enumerate function, [3](#enumerate)**
**eval function, [32](#eval)**
**exceptions, [20](#exceptions)-[21](#reraisingcaughtexception), [22](#exceptions-1)**
### F
**files, [23](#file)**
**filter function, [11](#mapfilterreduce)**
**floats, [4](#abc), [6](#floats), [7](#types)**
**format function, [6](#format)-[7](#comparisonoffloatpresentationtypes)**
**futures, [30](#threadpool)**
### G
**generator, [4](#generator)**
### H
**hash function, [16](#hashable)**
**hexadecimal representation, [8](#binhex)**
### I
**image, [38](#image)**
**inline, [11](#inline)-12**
**input function, [22](#input)**
**introspection, [30](#introspection)**
**ints, [4](#abc), [7](#types), [8](#binhex)**
**iterable, [18](#iterable)**
**iterator, [3](#iterator), [17](#iterator-1)**
### J
**json module, [27](#json)**
### L
**lambda, [11](#lambda)**
**list comprehension, [11](#comprehension)**
**lists, [1](#list)-2**
**locks, [29](#lock)**
**logging, [34](#logging)**
**lru_cache decorator, [13](#lrucache)**
### M
**main function, [1](#main), [41](#basicscripttemplate)**
**map function, [11](#mapfilterreduce)**
**math module, [7](#math)**
**matplotlib library, [33](#plot)**
**memoryviews, [29](#memoryview)**
**metaprograming, [31](#metaprograming)**
**mysql library, [26](#mysql)**
### N
**namedtuples, [3](#namedtuple)**
**nonlocal keyword, [12](#nonlocal)**
**numpy module, [36](#numpy)-[37](#indexing)**
### O
**open function, [22](#open)-[23](#file)**
**operator module, [30](#operator)**
**OS commands, [24](#oscommands)**
### P
**parameters, [10](#arguments)**
**partial function, [12](#partial)**
**paths, [23](#path)-24**
**pickle module, [27](#pickle)**
**PIL library, [38](#image)**
**plotting, [33](#plot)**
**print function, [21](#print)**
**profiling, [35](#profiling)-[36](#timingasnippet)**
**progress bar, [33](#progressbar)**
### Q
**queues, [30](#queue)**
### R
**random module, [8](#random)**
**ranges, [3](#range)**
**recursion, [13](#lrucache)**
**reduce function, [11](#mapfilterreduce)**
**regular expressions, [5](#regex)-[6](#specialsequences)**
**requests library, [34](#scraping), [35](#test)**
### S
**sqlite3 module, [26](#sqlite)**
**scraping, [34](#scraping)**
**sequence, [18](#sequence), [19](#collectionsabcsequence)**
**sets, [2](#set)**
**shell commands, [24](#shellcommands)**
**sleep function, [33](#progressbar)**
**splat operator, [10](#splatoperator)-[11](#otheruses)**
**statistics module, [7](#statistics)**
**strings, [5](#string)**
**struct module, [28](#struct)**
**synthesizer, [40](#synthesizer)**
### T
**table, [33](#table)**
**threading module, [29](#threading)-[30](#threadpool)**
**time module, [33](#progressbar), [35](#stopwatch)**
**tqdm library, [33](#progressbar)**
**tuples, [3](#tuple)**
**type, [4](#type), [31](#type-1)**
### W
**web, [35](#web)**