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.

145 lines
13 KiB

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
4 years ago
4 years ago
4 years ago
5 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
4 years ago
4 years ago
4 years ago
5 years ago
4 years ago
4 years ago
5 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
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
3 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
5 years ago
4 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>animation, <a href="#animation">40</a>, <a href="#pygame">42</a>-<a href="#basicmariobrothersexample">43</a></strong><br>
  7. <strong>argparse module, <a href="#argumentparser">22</a></strong><br>
  8. <strong>arguments, <a href="#arguments">10</a>, <a href="#partial">12</a>, <a href="#commandlinearguments">22</a></strong><br>
  9. <strong>arrays, <a href="#array">29</a>, <a href="#numpy">37</a>-<a href="#indexing">38</a></strong><br>
  10. <strong>asyncio module, <a href="#coroutines">33</a></strong><br>
  11. <strong>audio, <a href="#audio">40</a>-<a href="#synthesizer">41</a>, <a href="#sound">42</a></strong> </p>
  12. <h3 id="b">B</h3>
  13. <p><strong>beautifulsoup library, <a href="#scrapespythonsurlversionnumberandlogofromitswikipediapage">35</a></strong><br>
  14. <strong>binary representation, <a href="#ints">7</a>, <a href="#binhex">8</a></strong><br>
  15. <strong>bitwise operators, <a href="#bitwiseoperators">8</a></strong><br>
  16. <strong>bottle library, <a href="#web">36</a></strong><br>
  17. <strong>bytes, <a href="#open">22</a>-<a href="#modes">23</a>, <a href="#pickle">25</a>, <a href="#bytes">28</a>-<a href="#memoryview">29</a></strong> </p>
  18. <h3 id="c">C</h3>
  19. <p><strong>cache, <a href="#lrucache">13</a></strong><br>
  20. <strong>callable, <a href="#callable">17</a></strong><br>
  21. <strong>class, <a href="#type">4</a>, <a href="#class">14</a>-<a href="#inline-2">20</a>, <a href="#metaprograming">31</a>-<a href="#metaclass">32</a></strong><br>
  22. <strong>closure, <a href="#closure">12</a>-<a href="#decorator">13</a></strong><br>
  23. <strong>collection, <a href="#abstractbaseclasses">4</a>, <a href="#collection">18</a>, <a href="#tableofrequiredandautomaticallyavailablespecialmethods">19</a></strong><br>
  24. <strong>collections module, <a href="#dictionary">2</a>, <a href="#namedtuple">3</a>, <a href="#abstractbaseclasses">4</a>, <a href="#abcsequence">19</a>, <a href="#deque">29</a></strong><br>
  25. <strong>combinatorics, <a href="#combinatorics">8</a></strong><br>
  26. <strong>command line arguments, <a href="#commandlinearguments">22</a></strong><br>
  27. <strong>comparable, <a href="#comparable">16</a></strong><br>
  28. <strong>comprehensions, <a href="#comprehensions">11</a></strong><br>
  29. <strong>context manager, <a href="#contextmanager">17</a>, <a href="#readtextfromfile">23</a>, <a href="#or">27</a>, <a href="#or-1">30</a></strong><br>
  30. <strong>copy function, <a href="#copy">15</a></strong><br>
  31. <strong>coroutine, <a href="#coroutines">33</a></strong><br>
  32. <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>
  33. <strong>csv, <a href="#csv">26</a>, <a href="#printsacsvfileasanasciitable">34</a>, <a href="#encodedecode">46</a>, <a href="#coviddeathsbycontinent">47</a></strong><br>
  34. <strong>curses module, <a href="#runsaterminalgamewhereyoucontrolanasteriskthatmustavoidnumbers">33</a>, <a href="#curses">34</a></strong><br>
  35. <strong>cython, <a href="#cython">49</a></strong> </p>
  36. <h3 id="d">D</h3>
  37. <p><strong>dataclasses module, <a href="#namedtupleenumdataclass">12</a>, <a href="#dataclass">15</a></strong><br>
  38. <strong>datetime module, <a href="#datetime">8</a>-<a href="#constructors">9</a></strong><br>
  39. <strong>decorator, <a href="#decorator">13</a>, <a href="#class">14</a>, <a href="#property">15</a>, <a href="#sortable">16</a></strong><br>
  40. <strong>deques, <a href="#deque">29</a></strong><br>
  41. <strong>dictionaries, <a href="#dictionary">2</a>, <a href="#abstractbaseclasses">4</a>, <a href="#otheruses">11</a>, <a href="#tableofrequiredandautomaticallyavailablespecialmethods">19</a>, <a href="#collectionsandtheirexceptions">21</a></strong><br>
  42. <strong>duck types, <a href="#ducktypes">16</a>-<a href="#abcsequence">19</a></strong> </p>
  43. <h3 id="e">E</h3>
  44. <p><strong>enum module, <a href="#enum">19</a>-<a href="#inline-2">20</a></strong><br>
  45. <strong>enumerate function, <a href="#enumerate">3</a></strong><br>
  46. <strong>eval function, <a href="#eval">33</a></strong><br>
  47. <strong>exceptions, <a href="#exceptions">20</a>-<a href="#exceptionobject">21</a>, <a href="#exceptions-1">23</a>, <a href="#exceptions-2">35</a></strong> </p>
  48. <h3 id="f">F</h3>
  49. <p><strong>files, <a href="#print">22</a>-<a href="#csv">26</a>, <a href="#readbytesfromfile">28</a>, <a href="#encodedecode">46</a></strong><br>
  50. <strong>filter function, <a href="#mapfilterreduce">11</a></strong><br>
  51. <strong>floats, <a href="#abstractbaseclasses">4</a>, <a href="#floats">6</a>, <a href="#types">7</a></strong><br>
  52. <strong>format, <a href="#format">6</a>-<a href="#comparisonofpresentationtypes">7</a></strong><br>
  53. <strong>functools module, <a href="#mapfilterreduce">11</a>, <a href="#partial">12</a>, <a href="#debuggerexample">13</a>, <a href="#sortable">16</a></strong><br>
  54. <strong>futures, <a href="#threadpoolexecutor">30</a></strong> </p>
  55. <h3 id="g">G</h3>
  56. <p><strong>generators, <a href="#generator">4</a>, <a href="#comprehensions">11</a>, <a href="#iterator-1">17</a></strong><br>
  57. <strong>global keyword, <a href="#nonlocal">12</a></strong><br>
  58. <strong>gui, <a href="#pysimplegui">48</a></strong> </p>
  59. <h3 id="h">H</h3>
  60. <p><strong>hashable, <a href="#dataclass">15</a>, <a href="#hashable">16</a></strong><br>
  61. <strong>hexadecimal representation, <a href="#ints">7</a>, <a href="#binhex">8</a>, <a href="#encode-1">28</a></strong> </p>
  62. <h3 id="i">I</h3>
  63. <p><strong>image, <a href="#scrapespythonsurlversionnumberandlogofromitswikipediapage">35</a>, <a href="#image">39</a>-<a href="#animation">40</a>, <a href="#surface">42</a>-<a href="#basicmariobrothersexample">43</a></strong><br>
  64. <strong>inline, <a href="#otheruses">11</a>-<a href="#namedtupleenumdataclass">12</a>, <a href="#inline-1">15</a>, <a href="#inline-2">20</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="#ints">7</a>, <a href="#binhex">8</a>, <a href="#encode-1">28</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>, <a href="#tableofrequiredandautomaticallyavailablespecialmethods">19</a></strong><br>
  70. <strong>iterator, <a href="#enumerate">3</a>-<a href="#generator">4</a>, <a href="#comprehensions">11</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, <a href="#json">25</a>, <a href="#restrequest">36</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="#comprehensions">11</a></strong><br>
  77. <strong>lists, <a href="#list">1</a>-<a href="#list">2</a>, <a href="#abstractbaseclasses">4</a>, <a href="#otheruses">11</a>, <a href="#tableofrequiredandautomaticallyavailablespecialmethods">19</a>, <a href="#collectionsandtheirexceptions">21</a></strong><br>
  78. <strong>locks, <a href="#lock">30</a>, <a href="#coroutines">33</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">49</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">27</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="#contextmanager">17</a>, <a href="#open">22</a>-<a href="#modes">23</a>, <a href="#readobjectfromjsonfile">25</a>, <a href="#readrowsfromcsvfile">26</a>, <a href="#readbytesfromfile">28</a></strong><br>
  94. <strong>operator module, <a href="#operator">31</a></strong><br>
  95. <strong>os commands, <a href="#path">23</a>-<a href="#shellcommands">25</a></strong> </p>
  96. <h3 id="p">P</h3>
  97. <p><strong>pandas library, <a href="#pandas">44</a>-<a href="#confirmedcovidcasesdowjonesgoldandbitcoinprice">48</a></strong><br>
  98. <strong>partial function, <a href="#partial">12</a>, <a href="#userdefinedfunctionscannotbevaluessotheymustbewrapped">20</a></strong><br>
  99. <strong>path, <a href="#path">23</a>-<a href="#direntry">24</a></strong><br>
  100. <strong>pickle module, <a href="#pickle">25</a></strong><br>
  101. <strong>pillow library, <a href="#image">39</a>-<a href="#animation">40</a></strong><br>
  102. <strong>plotting, <a href="#plot">34</a>, <a href="#plotly">47</a>-<a href="#confirmedcovidcasesdowjonesgoldandbitcoinprice">48</a></strong><br>
  103. <strong>print function, <a href="#print">22</a></strong><br>
  104. <strong>profiling, <a href="#profiling">36</a>-<a href="#timingasnippet">37</a></strong><br>
  105. <strong>progress bar, <a href="#progressbar">34</a></strong><br>
  106. <strong>property decorator, <a href="#property">15</a></strong><br>
  107. <strong>pygame library, <a href="#pygame">42</a>-<a href="#basicmariobrothersexample">43</a></strong> </p>
  108. <h3 id="q">Q</h3>
  109. <p><strong>queues, <a href="#deque">29</a>, <a href="#queue">30</a>, <a href="#coroutines">33</a></strong> </p>
  110. <h3 id="r">R</h3>
  111. <p><strong>random module, <a href="#random">8</a></strong><br>
  112. <strong>ranges, <a href="#range">3</a>, <a href="#abstractbaseclasses">4</a></strong><br>
  113. <strong>recursion, <a href="#lrucache">13</a></strong><br>
  114. <strong>reduce function, <a href="#mapfilterreduce">11</a>, <a href="#operator">31</a></strong><br>
  115. <strong>regular expressions, <a href="#regex">5</a>-<a href="#specialsequences">6</a></strong><br>
  116. <strong>requests library, <a href="#scrapespythonsurlversionnumberandlogofromitswikipediapage">35</a>, <a href="#test">36</a></strong> </p>
  117. <h3 id="s">S</h3>
  118. <p><strong>scraping, <a href="#scraping">35</a>, <a href="#basicmariobrothersexample">43</a>, <a href="#encodedecode">46</a>, <a href="#coviddeathsbycontinent">47</a>-<a href="#confirmedcovidcasesdowjonesgoldandbitcoinprice">48</a></strong><br>
  119. <strong>sequence, <a href="#abstractbaseclasses">4</a>, <a href="#sequence">18</a>-<a href="#abcsequence">19</a></strong><br>
  120. <strong>sets, <a href="#set">2</a>, <a href="#abstractbaseclasses">4</a>, <a href="#otheruses">11</a>, <a href="#tableofrequiredandautomaticallyavailablespecialmethods">19</a>, <a href="#collectionsandtheirexceptions">21</a>, <a href="#operator">31</a></strong><br>
  121. <strong>shell commands, <a href="#shellcommands">25</a></strong><br>
  122. <strong>sleep function, <a href="#progressbar">34</a></strong><br>
  123. <strong>slots attribute, <a href="#slots">15</a></strong><br>
  124. <strong>sortable, <a href="#list">1</a>, <a href="#sortable">16</a></strong><br>
  125. <strong>splat operator, <a href="#splatoperator">10</a>-<a href="#otheruses">11</a></strong><br>
  126. <strong>sql, <a href="#sqlite">27</a>, <a href="#encodedecode">46</a></strong><br>
  127. <strong>statistics, <a href="#statistics">7</a>, <a href="#numpy">37</a>-<a href="#indexing">38</a>, <a href="#pandas">44</a>-<a href="#confirmedcovidcasesdowjonesgoldandbitcoinprice">48</a></strong><br>
  128. <strong>strings, <a href="#abstractbaseclasses">4</a>-<a href="#comparisonofpresentationtypes">7</a>, <a href="#class">14</a></strong><br>
  129. <strong>struct module, <a href="#struct">28</a>-<a href="#integertypesuseacapitalletterforunsignedtypeminimumandstandardsizesareinbrackets">29</a></strong><br>
  130. <strong>subprocess module, <a href="#sends11tothebasiccalculatorandcapturesitsoutput">25</a></strong><br>
  131. <strong>super function, <a href="#inheritance">14</a></strong><br>
  132. <strong>synthesizer, <a href="#synthesizer">41</a></strong><br>
  133. <strong>sys module, <a href="#lrucache">13</a>, <a href="#exit">21</a>-<a href="#commandlinearguments">22</a></strong> </p>
  134. <h3 id="t">T</h3>
  135. <p><strong>table, <a href="#csv">26</a>, <a href="#example">27</a>, <a href="#table">34</a>, <a href="#numpy">37</a>-<a href="#indexing">38</a>, <a href="#dataframe">45</a>-<a href="#aggregatetransformmap-1">46</a></strong><br>
  136. <strong>template, <a href="#format">6</a>, <a href="#dynamicrequest">36</a></strong><br>
  137. <strong>threading module, <a href="#threading">30</a></strong><br>
  138. <strong>time module, <a href="#progressbar">34</a>, <a href="#stopwatch">36</a></strong><br>
  139. <strong>tuples, <a href="#tuple">3</a>, <a href="#abstractbaseclasses">4</a>, <a href="#otheruses">11</a></strong><br>
  140. <strong>type, <a href="#type">4</a>, <a href="#metaprograming">31</a>-<a href="#metaclass">32</a></strong> </p>
  141. <h3 id="w">W</h3>
  142. <p><strong>wave module, <a href="#audio">40</a>-<a href="#writefloatsamplestowavfile">41</a></strong><br>
  143. <strong>web, <a href="#web">36</a></strong> </p>
  144. </div>