You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

146 lines
10 KiB

4 years ago
5 years ago
4 years ago
5 years ago
4 years ago
4 years ago
5 years ago
5 years ago
4 years ago
4 years ago
4 years ago
5 years ago
5 years ago
4 years ago
5 years ago
5 years ago
4 years ago
4 years ago
5 years ago
4 years ago
4 years ago
5 years ago
4 years ago
5 years ago
4 years ago
5 years ago
5 years ago
5 years ago
5 years ago
4 years ago
4 years ago
5 years ago
4 years ago
5 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
5 years ago
4 years ago
4 years ago
5 years ago
5 years ago
4 years ago
5 years ago
5 years ago
4 years ago
4 years ago
4 years ago
5 years ago
4 years ago
4 years ago
4 years ago
5 years ago
5 years ago
4 years ago
4 years ago
5 years ago
5 years ago
4 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
4 years ago
5 years ago
  1. <div class="pagebreak"></div>
  2. <h2 id="index"><a href="#index" name="index">#</a>Index</h2>
  3. <div style="column-count: 3; width: 960px; page-break-inside: avoid">
  4. <h3 id="a">A</h3>
  5. <p><strong>abstract base classes, <a href="#abstractbaseclasses">4</a>, <a href="#abcsequence">19</a></strong><br>
  6. <strong>all function, <a href="#anyall">11</a></strong><br>
  7. <strong>animation, <a href="#animation">40</a></strong><br>
  8. <strong>any function, <a href="#anyall">11</a></strong><br>
  9. <strong>argparse module, <a href="#argumentparser">22</a></strong><br>
  10. <strong>arguments, <a href="#arguments">10</a></strong><br>
  11. <strong>arrays, <a href="#array">29</a></strong><br>
  12. <strong>audio, <a href="#audio">40</a>-<a href="#writefloatsamplestowavfile">41</a></strong> </p>
  13. <h3 id="b">B</h3>
  14. <p><strong>basic script template, <a href="#basicscripttemplate">49</a></strong><br>
  15. <strong>beautifulsoup library, <a href="#scraping">35</a></strong><br>
  16. <strong>binary representation, <a href="#binhex">8</a></strong><br>
  17. <strong>bitwise operators, <a href="#bitwiseoperators">8</a></strong><br>
  18. <strong>bottle library, <a href="#web">36</a></strong><br>
  19. <strong>bytes, <a href="#bytes">28</a></strong> </p>
  20. <h3 id="c">C</h3>
  21. <p><strong>cache, <a href="#lrucache">13</a></strong><br>
  22. <strong>callable, <a href="#callable">17</a></strong><br>
  23. <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>
  24. <strong>closure, <a href="#closure">12</a></strong><br>
  25. <strong>collection, <a href="#type">4</a>, <a href="#collection">18</a></strong><br>
  26. <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>
  27. <strong>combinatorics, <a href="#combinatorics">8</a></strong><br>
  28. <strong>command line arguments, <a href="#commandlinearguments">22</a></strong><br>
  29. <strong>comparable, <a href="#comparable">16</a></strong><br>
  30. <strong>comprehension, <a href="#comprehension">11</a></strong><br>
  31. <strong>context manager, <a href="#contextmanager">17</a></strong><br>
  32. <strong>copy function, <a href="#copy">15</a></strong><br>
  33. <strong>coroutine, <a href="#coroutines">33</a></strong><br>
  34. <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>
  35. <strong>csv module, <a href="#csv">26</a>, <a href="#printsacsvfileasanasciitable">34</a>, <a href="#encodedecode">46</a></strong><br>
  36. <strong>curses module, <a href="#curses">34</a></strong> </p>
  37. <h3 id="d">D</h3>
  38. <p><strong>dataclasses module, <a href="#namedtupleenumdataclass">12</a></strong>, <a href="#dataclass">15</a></strong><br>
  39. <strong>datetime module, <a href="#datetime">8</a>-<a href="#constructors">9</a></strong><br>
  40. <strong>decorator, <a href="#decorator">13</a></strong><br>
  41. <strong>deques, <a href="#deque">29</a></strong><br>
  42. <strong>dictionaries, <a href="#dictionary">2</a>, <a href="#otheruses">11</a></strong><br>
  43. <strong>duck types, <a href="#ducktypes">16</a>-<a href="#abcsequence">19</a></strong> </p>
  44. <h3 id="e">E</h3>
  45. <p><strong>enum module, <a href="#enum">19</a>-<a href="#inline-2">20</a></strong><br>
  46. <strong>enumerate function, <a href="#enumerate">3</a></strong><br>
  47. <strong>eval function, <a href="#eval">33</a></strong><br>
  48. <strong>exceptions, <a href="#exceptions">20</a>-<a href="#reraisingcaughtexception">21</a>, <a href="#exceptions-1">23</a></strong> </p>
  49. <h3 id="f">F</h3>
  50. <p><strong>files, <a href="#file">23</a></strong><br>
  51. <strong>filter function, <a href="#mapfilterreduce">11</a></strong><br>
  52. <strong>floats, <a href="#abstractbaseclasses">4</a>, <a href="#floats">6</a>, <a href="#types">7</a></strong><br>
  53. <strong>format, <a href="#format">6</a>-<a href="#comparisonoffloatpresentationtypes">7</a></strong><br>
  54. <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>
  55. <strong>futures, <a href="#threadpool">30</a></strong> </p>
  56. <h3 id="g">G</h3>
  57. <p><strong>generators, <a href="#generator">4</a>, <a href="#comprehension">11</a></strong><br>
  58. <strong>global keyword, <a href="#nonlocal">12</a></strong></p>
  59. <h3 id="h">H</h3>
  60. <p><strong>hashable, <a href="#hashable">16</a></strong><br>
  61. <strong>hexadecimal representation, <a href="#binhex">8</a></strong> </p>
  62. <h3 id="i">I</h3>
  63. <p><strong>image, <a href="#image">39</a></strong><br>
  64. <strong>inline, <a href="#inline">11</a>-<a href="#namedtupleenumdataclass">12</a></strong><br>
  65. <strong>input function, <a href="#input">22</a></strong><br>
  66. <strong>introspection, <a href="#introspection">31</a></strong><br>
  67. <strong>ints, <a href="#abstractbaseclasses">4</a>, <a href="#types">7</a>, <a href="#binhex">8</a></strong><br>
  68. <strong>is operator, <a href="#comparable">16</a></strong><br>
  69. <strong>iterable, <a href="#abstractbaseclasses">4</a>, <a href="#iterable">18</a></strong><br>
  70. <strong>iterator, <a href="#iterator">3</a>, <a href="#iterator-1">17</a></strong><br>
  71. <strong>itertools module, <a href="#itertools">3</a>, <a href="#combinatorics">8</a></strong> </p>
  72. <h3 id="j">J</h3>
  73. <p><strong>json module, <a href="#json">25</a>, <a href="#encodedecode">46</a></strong> </p>
  74. <h3 id="l">L</h3>
  75. <p><strong>lambda, <a href="#lambda">11</a></strong><br>
  76. <strong>list comprehension, <a href="#comprehension">11</a></strong><br>
  77. <strong>lists, <a href="#list">1</a>-<a href="#list">2</a>, <a href="#otheruses">11</a></strong><br>
  78. <strong>locks, <a href="#lock">29</a></strong><br>
  79. <strong>logging, <a href="#logging">35</a></strong> </p>
  80. <h3 id="m">M</h3>
  81. <p><strong>main function, <a href="#main">1</a>, <a href="#basicscripttemplate">41</a></strong><br>
  82. <strong>map function, <a href="#mapfilterreduce">11</a>, <a href="#operator">31</a></strong><br>
  83. <strong>math module, <a href="#math">7</a></strong><br>
  84. <strong>memoryviews, <a href="#memoryview">29</a></strong><br>
  85. <strong>metaclass attribute, <a href="#metaclassattribute">32</a></strong><br>
  86. <strong>metaprograming, <a href="#metaprograming">31</a>-<a href="#metaclass">32</a></strong><br>
  87. <strong>mysql library, <a href="#mysql">26</a>, <a href="#encodedecode">46</a></strong> </p>
  88. <h3 id="n">N</h3>
  89. <p><strong>namedtuples, <a href="#namedtuple">3</a></strong><br>
  90. <strong>nonlocal keyword, <a href="#nonlocal">12</a></strong><br>
  91. <strong>numpy library, <a href="#numpy">37</a>-<a href="#indexing">38</a></strong> </p>
  92. <h3 id="o">O</h3>
  93. <p><strong>open function, <a href="#open">22</a>-<a href="#file">23</a></strong><br>
  94. <strong>operator module, <a href="#operator">31</a></strong><br>
  95. <strong>os commands, <a href="#oscommands">24</a>-<a href="#shellcommands">25</a></strong><br>
  96. <strong>os module, <a href="#path">23</a>, <a href="#oscommands">24</a>-<a href="#shellcommands">25</a></strong> </p>
  97. <h3 id="p">P</h3>
  98. <p><strong>pandas library, <a href="#pandas">44</a></strong><br>
  99. <strong>partial function, <a href="#partial">12</a>, <a href="#functionscannotbevaluessotheymustbewrapped">20</a></strong><br>
  100. <strong>path, <a href="#path">23</a>-<a href="#pathlib">24</a></strong><br>
  101. <strong>pickle module, <a href="#pickle">25</a></strong><br>
  102. <strong>pillow library, <a href="#image">39</a></strong><br>
  103. <strong>plotting, <a href="#plot">34</a>, <a href="#plotly">47</a></strong><br>
  104. <strong>print function, <a href="#print">22</a></strong><br>
  105. <strong>profiling, <a href="#profiling">36</a>-<a href="#timingasnippet">37</a></strong><br>
  106. <strong>progress bar, <a href="#progressbar">34</a></strong><br>
  107. <strong>property decorator, <a href="#property">15</a></strong><br>
  108. <strong>pygame library, <a href="#pygame">42</a></strong> </p>
  109. <h3 id="q">Q</h3>
  110. <p><strong>queues, <a href="#queue">30</a></strong> </p>
  111. <h3 id="r">R</h3>
  112. <p><strong>random module, <a href="#random">8</a></strong><br>
  113. <strong>ranges, <a href="#range">3</a></strong><br>
  114. <strong>recursion, <a href="#lrucache">13</a></strong><br>
  115. <strong>reduce function, <a href="#mapfilterreduce">11</a>, <a href="#operator">31</a></strong><br>
  116. <strong>regular expressions, <a href="#regex">5</a>-<a href="#specialsequences">6</a></strong><br>
  117. <strong>requests library, <a href="#scraping">35</a>, <a href="#test">36</a></strong> </p>
  118. <h3 id="s">S</h3>
  119. <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>
  120. <strong>sequence, <a href="#type">4</a>, <a href="#sequence">18</a>, <a href="#abcsequence">19</a></strong><br>
  121. <strong>sets, <a href="#set">2</a>, <a href="#otheruses">11</a></strong><br>
  122. <strong>shell commands, <a href="#shellcommands">25</a></strong><br>
  123. <strong>sleep function, <a href="#progressbar">34</a></strong><br>
  124. <strong>slots attribute, <a href="#slots">15</a></strong><br>
  125. <strong>sortable, <a href="#list">1</a>, <a href="#sortable">16</a></strong><br>
  126. <strong>splat operator, <a href="#splatoperator">10</a>-<a href="#otheruses">11</a></strong><br>
  127. <strong>sqlite module, <a href="#sqlite">27</a></strong><br>
  128. <strong>statistics module, <a href="#statistics">7</a></strong><br>
  129. <strong>strings, <a href="#string">5</a></strong><br>
  130. <strong>struct module, <a href="#struct">28</a>-<a href="#integertypesusecapitalletterforunsignedtypestandardsizesareinbrackets">29</a></strong><br>
  131. <strong>subprocess module, <a href="#usingsubprocess">25</a></strong><br>
  132. <strong>super function, <a href="#inheritance">14</a></strong><br>
  133. <strong>synthesizer, <a href="#synthesizer">41</a></strong><br>
  134. <strong>sys module, <a href="#lrucache">15</a>, <a href="#commonbuiltinexceptions">21</a>, <a href="#print">22</a></strong> </p>
  135. <h3 id="t">T</h3>
  136. <p><strong>table, <a href="#table">34</a></strong><br>
  137. <strong>template function, <a href="#dynamicrequest">36</a></strong><br>
  138. <strong>threading module, <a href="#threading">30</a></strong><br>
  139. <strong>time module, <a href="#progressbar">34</a>, <a href="#stopwatch">36</a></strong><br>
  140. <strong>tuples, <a href="#tuple">3</a>, <a href="#otheruses">11</a></strong><br>
  141. <strong>type, <a href="#type">4</a>, <a href="#type-1">31</a></strong> </p>
  142. <h3 id="w">W</h3>
  143. <p><strong>wave module, <a href="#audio">40</a>-<a href="#writefloatsamplestowavfile">41</a></strong><br>
  144. <strong>web, <a href="#web">36</a></strong> </p>
  145. </div>