forked from gto76/python-cheatsheet
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex_for_pdf.html
More file actions
147 lines (145 loc) · 10.1 KB
/
index_for_pdf.html
File metadata and controls
147 lines (145 loc) · 10.1 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
<div class="pagebreak"></div>
<h2 id="index"><a href="#index" name="index">#</a>Index</h2>
<div style="column-count: 3; width: 960px; page-break-inside: avoid">
<h3 id="a">A</h3>
<p><strong>abstract base classes, <a href="#abstractbaseclasses">4</a>, <a href="#abcsequence">19</a></strong><br>
<strong>all function, <a href="#anyall">11</a></strong><br>
<strong>animation, <a href="#animation">40</a></strong><br>
<strong>any function, <a href="#anyall">11</a></strong><br>
<strong>argparse module, <a href="#argumentparser">22</a></strong><br>
<strong>arguments, <a href="#arguments">10</a></strong><br>
<strong>arrays, <a href="#array">29</a></strong><br>
<strong>audio, <a href="#audio">40</a>-<a href="#writefloatsamplestowavfile">41</a></strong> </p>
<h3 id="b">B</h3>
<p><strong>beautifulsoup library, <a href="#scraping">35</a></strong><br>
<strong>binary representation, <a href="#binhex">8</a></strong><br>
<strong>bitwise operators, <a href="#bitwiseoperators">8</a></strong><br>
<strong>bottle library, <a href="#web">36</a></strong><br>
<strong>bytes, <a href="#bytes">28</a></strong> </p>
<h3 id="c">C</h3>
<p><strong>cache, <a href="#lrucache">13</a></strong><br>
<strong>callable, <a href="#callable">17</a></strong><br>
<strong>class, <a href="#type">4</a>, <a href="#class">14</a>-<a href="#abcsequence">19</a>, <a href="#metaprograming">31</a>-<a href="#metaclass">32</a></strong><br>
<strong>closure, <a href="#closure">12</a></strong><br>
<strong>collection, <a href="#type">4</a>, <a href="#collection">18</a></strong><br>
<strong>collections module, <a href="#counter">2</a>, <a href="#namedtuple">3</a>, <a href="#abstractbaseclasses">4</a>, <a href="#abcsequence">19</a>, <a href="#deque">29</a></strong><br>
<strong>combinatorics, <a href="#combinatorics">8</a></strong><br>
<strong>command line arguments, <a href="#commandlinearguments">22</a></strong><br>
<strong>comparable, <a href="#comparable">16</a></strong><br>
<strong>comprehensions, <a href="#comprehensions">11</a></strong><br>
<strong>context manager, <a href="#contextmanager">17</a></strong><br>
<strong>copy function, <a href="#copy">15</a></strong><br>
<strong>coroutine, <a href="#coroutines">33</a></strong><br>
<strong>counter, <a href="#counter">2</a>, <a href="#generator">4</a>, <a href="#nonlocal">12</a>, <a href="#iterator-1">17</a></strong><br>
<strong>csv module, <a href="#csv">26</a>, <a href="#printsacsvfileasanasciitable">34</a>, <a href="#encodedecode">46</a></strong><br>
<strong>curses module, <a href="#curses">34</a></strong><br>
<strong>cython, <a href="#cython">49</a></strong> </p>
<h3 id="d">D</h3>
<p><strong>dataclasses module, <a href="#namedtupleenumdataclass">12</a>, <a href="#dataclass">15</a></strong><br>
<strong>datetime module, <a href="#datetime">8</a>-<a href="#constructors">9</a></strong><br>
<strong>decorator, <a href="#decorator">13</a></strong><br>
<strong>deques, <a href="#deque">29</a></strong><br>
<strong>dictionaries, <a href="#dictionary">2</a>, <a href="#otheruses">11</a></strong><br>
<strong>duck types, <a href="#ducktypes">16</a>-<a href="#abcsequence">19</a></strong> </p>
<h3 id="e">E</h3>
<p><strong>enum module, <a href="#enum">19</a>-<a href="#inline-2">20</a></strong><br>
<strong>enumerate function, <a href="#enumerate">3</a></strong><br>
<strong>eval function, <a href="#eval">33</a></strong><br>
<strong>exceptions, <a href="#exceptions">20</a>-<a href="#reraisingcaughtexception">21</a>, <a href="#exceptions-1">23</a></strong> </p>
<h3 id="f">F</h3>
<p><strong>files, <a href="#file">23</a></strong><br>
<strong>filter function, <a href="#mapfilterreduce">11</a></strong><br>
<strong>floats, <a href="#abstractbaseclasses">4</a>, <a href="#floats">6</a>, <a href="#types">7</a></strong><br>
<strong>format, <a href="#format">6</a>-<a href="#comparisonoffloatpresentationtypes">7</a></strong><br>
<strong>functools module, <a href="#mapfilterreduce">11</a>, <a href="#partial">12</a>, <a href="#decorator">13</a>, <a href="#sortable">16</a></strong><br>
<strong>futures, <a href="#threadpool">30</a></strong> </p>
<h3 id="g">G</h3>
<p><strong>generators, <a href="#generator">4</a>, <a href="#comprehensions">11</a></strong><br>
<strong>global keyword, <a href="#nonlocal">12</a></strong></p>
<h3 id="h">H</h3>
<p><strong>hashable, <a href="#hashable">16</a></strong><br>
<strong>hexadecimal representation, <a href="#binhex">8</a></strong> </p>
<h3 id="i">I</h3>
<p><strong>image, <a href="#image">39</a></strong><br>
<strong>inline, <a href="#inline">11</a>-<a href="#namedtupleenumdataclass">12</a></strong><br>
<strong>input function, <a href="#input">22</a></strong><br>
<strong>introspection, <a href="#introspection">31</a></strong><br>
<strong>ints, <a href="#abstractbaseclasses">4</a>, <a href="#types">7</a>, <a href="#binhex">8</a></strong><br>
<strong>is operator, <a href="#comparable">16</a></strong><br>
<strong>iterable, <a href="#abstractbaseclasses">4</a>, <a href="#iterable">18</a></strong><br>
<strong>iterator, <a href="#iterator">3</a>, <a href="#iterator-1">17</a></strong><br>
<strong>itertools module, <a href="#itertools">3</a>, <a href="#combinatorics">8</a></strong> </p>
<h3 id="j">J</h3>
<p><strong>json module, <a href="#json">25</a>, <a href="#encodedecode">46</a></strong> </p>
<h3 id="l">L</h3>
<p><strong>lambda, <a href="#lambda">11</a></strong><br>
<strong>list comprehension, <a href="#comprehensions">11</a></strong><br>
<strong>lists, <a href="#list">1</a>-<a href="#list">2</a>, <a href="#otheruses">11</a></strong><br>
<strong>locks, <a href="#lock">29</a></strong><br>
<strong>logging, <a href="#logging">35</a></strong> </p>
<h3 id="m">M</h3>
<p><strong>main function, <a href="#main">1</a>, <a href="#basicscripttemplate">41</a></strong><br>
<strong>map function, <a href="#mapfilterreduce">11</a>, <a href="#operator">31</a></strong><br>
<strong>math module, <a href="#math">7</a></strong><br>
<strong>memoryviews, <a href="#memoryview">29</a></strong><br>
<strong>metaclass attribute, <a href="#metaclassattribute">32</a></strong><br>
<strong>metaprograming, <a href="#metaprograming">31</a>-<a href="#metaclass">32</a></strong><br>
<strong>mysql library, <a href="#mysql">26</a>, <a href="#encodedecode">46</a></strong> </p>
<h3 id="n">N</h3>
<p><strong>namedtuples, <a href="#namedtuple">3</a></strong><br>
<strong>nonlocal keyword, <a href="#nonlocal">12</a></strong><br>
<strong>numpy library, <a href="#numpy">37</a>-<a href="#indexing">38</a></strong> </p>
<h3 id="o">O</h3>
<p><strong>open function, <a href="#open">22</a>-<a href="#file">23</a></strong><br>
<strong>operator module, <a href="#operator">31</a></strong><br>
<strong>os commands, <a href="#oscommands">24</a>-<a href="#shellcommands">25</a></strong><br>
<strong>os module, <a href="#path">23</a>, <a href="#oscommands">24</a>-<a href="#shellcommands">25</a></strong> </p>
<h3 id="p">P</h3>
<p><strong>pandas library, <a href="#pandas">44</a></strong><br>
<strong>partial function, <a href="#partial">12</a>, <a href="#functionscannotbevaluessotheymustbewrapped">20</a></strong><br>
<strong>path, <a href="#path">23</a>-<a href="#pathlib">24</a></strong><br>
<strong>pickle module, <a href="#pickle">25</a></strong><br>
<strong>pillow library, <a href="#image">39</a></strong><br>
<strong>plotting, <a href="#plot">34</a>, <a href="#plotly">47</a></strong><br>
<strong>print function, <a href="#print">22</a></strong><br>
<strong>profiling, <a href="#profiling">36</a>-<a href="#timingasnippet">37</a></strong><br>
<strong>progress bar, <a href="#progressbar">34</a></strong><br>
<strong>property decorator, <a href="#property">15</a></strong><br>
<strong>pygame library, <a href="#pygame">42</a></strong> </p>
<h3 id="q">Q</h3>
<p><strong>queues, <a href="#queue">30</a></strong> </p>
<h3 id="r">R</h3>
<p><strong>random module, <a href="#random">8</a></strong><br>
<strong>ranges, <a href="#range">3</a></strong><br>
<strong>recursion, <a href="#lrucache">13</a></strong><br>
<strong>reduce function, <a href="#mapfilterreduce">11</a>, <a href="#operator">31</a></strong><br>
<strong>regular expressions, <a href="#regex">5</a>-<a href="#specialsequences">6</a></strong><br>
<strong>requests library, <a href="#scraping">35</a>, <a href="#test">36</a></strong> </p>
<h3 id="s">S</h3>
<p><strong>scraping, <a href="#scraping">35</a>, <a href="#basicmariobrothersexample">43</a>, <a href="#encodedecode">46</a>, <a href="#plotly">47</a>, <a href="#confirmedcovidcasesdowjonesgoldandbitcoinprice">48</a></strong><br>
<strong>sequence, <a href="#type">4</a>, <a href="#sequence">18</a>, <a href="#abcsequence">19</a></strong><br>
<strong>sets, <a href="#set">2</a>, <a href="#otheruses">11</a></strong><br>
<strong>shell commands, <a href="#shellcommands">25</a></strong><br>
<strong>sleep function, <a href="#progressbar">34</a></strong><br>
<strong>slots attribute, <a href="#slots">15</a></strong><br>
<strong>sortable, <a href="#list">1</a>, <a href="#sortable">16</a></strong><br>
<strong>splat operator, <a href="#splatoperator">10</a>-<a href="#otheruses">11</a></strong><br>
<strong>sqlite module, <a href="#sqlite">27</a></strong><br>
<strong>statistics module, <a href="#statistics">7</a></strong><br>
<strong>strings, <a href="#string">5</a></strong><br>
<strong>struct module, <a href="#struct">28</a>-<a href="#integertypesusecapitalletterforunsignedtypestandardsizesareinbrackets">29</a></strong><br>
<strong>subprocess module, <a href="#usingsubprocess">25</a></strong><br>
<strong>super function, <a href="#inheritance">14</a></strong><br>
<strong>synthesizer, <a href="#synthesizer">41</a></strong><br>
<strong>sys module, <a href="#lrucache">15</a>, <a href="#commonbuiltinexceptions">21</a>, <a href="#print">22</a></strong> </p>
<h3 id="t">T</h3>
<p><strong>table, <a href="#table">34</a></strong><br>
<strong>template function, <a href="#dynamicrequest">36</a></strong><br>
<strong>threading module, <a href="#threading">30</a></strong><br>
<strong>time module, <a href="#progressbar">34</a>, <a href="#stopwatch">36</a></strong><br>
<strong>tuples, <a href="#tuple">3</a>, <a href="#otheruses">11</a></strong><br>
<strong>type, <a href="#type">4</a>, <a href="#type-1">31</a></strong> </p>
<h3 id="w">W</h3>
<p><strong>wave module, <a href="#audio">40</a>-<a href="#writefloatsamplestowavfile">41</a></strong><br>
<strong>web, <a href="#web">36</a></strong> </p>
</div>