Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit c93c700

Browse files
committed
Progress bar, index
1 parent 06bcd03 commit c93c700

File tree

5 files changed

+27
-25
lines changed

5 files changed

+27
-25
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2337,7 +2337,7 @@ Progress Bar
23372337
>>> from time import sleep
23382338
>>> for el in tqdm([1, 2, 3], desc='Processing'):
23392339
... sleep(1)
2340-
Processing: 100%|████████████████████| 3/3 [00:03<00:00, 1.00s/it]
2340+
Processing: 100%|████████████████████| 3/3 [00:03<00:00, 1.00s/it]
23412341
```
23422342

23432343

index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2041,7 +2041,7 @@
20412041
<span class="hljs-meta">&gt;&gt;&gt; </span><span class="hljs-keyword">from</span> time <span class="hljs-keyword">import</span> sleep
20422042
<span class="hljs-meta">&gt;&gt;&gt; </span><span class="hljs-keyword">for</span> el <span class="hljs-keyword">in</span> tqdm([<span class="hljs-number">1</span>, <span class="hljs-number">2</span>, <span class="hljs-number">3</span>], desc=<span class="hljs-string">'Processing'</span>):
20432043
<span class="hljs-meta">... </span> sleep(<span class="hljs-number">1</span>)
2044-
Processing: 100%|████████████████████| 3/3 [00:03&lt;00:00, 1.00s/it]
2044+
Processing: 100%|████████████████████| 3/3 [00:03&lt;00:00, 1.00s/it]
20452045
</code></pre></div></div>
20462046

20472047

parse.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ const PROGRESS_BAR =
6969
'<span class="hljs-meta">&gt;&gt;&gt; </span><span class="hljs-keyword">from</span> time <span class="hljs-keyword">import</span> sleep\n' +
7070
'<span class="hljs-meta">&gt;&gt;&gt; </span><span class="hljs-keyword">for</span> el <span class="hljs-keyword">in</span> tqdm([<span class="hljs-number">1</span>, <span class="hljs-number">2</span>, <span class="hljs-number">3</span>], desc=<span class="hljs-string">\'Processing\'</span>):\n' +
7171
'<span class="hljs-meta">... </span> sleep(<span class="hljs-number">1</span>)\n' +
72-
'Processing: 100%|████████████████████| 3/3 [00:03&lt;00:00, 1.00s/it]\n';
72+
'Processing: 100%|████████████████████| 3/3 [00:03&lt;00:00, 1.00s/it]\n';
7373

7474
const PYINSTALLER =
7575
'$ pip3 install pyinstaller\n' +

pdf/index_for_pdf.html

Lines changed: 12 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ <h3 id="a">A</h3>
77
<p><strong>abstract base classes, <a href="#abstractbaseclasses">4</a>, <a href="#abcsequence">19</a></strong><br>
88
<strong>animation, <a href="#animation">40</a>, <a href="#pygame">42</a>-<a href="#basicmariobrothersexample">43</a></strong><br>
99
<strong>argparse module, <a href="#argumentparser">22</a></strong><br>
10-
<strong>arguments, <a href="#arguments">10</a>, <a href="#partial">12</a></strong><br>
10+
<strong>arguments, <a href="#arguments">10</a>, <a href="#partial">12</a>, <a href="#commandlinearguments">22</a></strong><br>
1111
<strong>arrays, <a href="#array">29</a>, <a href="#numpy">37</a>-<a href="#indexing">38</a></strong><br>
1212
<strong>asyncio module, <a href="#coroutines">33</a></strong><br>
1313
<strong>audio, <a href="#audio">40</a>-<a href="#writefloatsamplestowavfile">41</a>, <a href="#sound">42</a></strong> </p>
@@ -21,32 +21,32 @@ <h3 id="c">C</h3>
2121
<p><strong>cache, <a href="#lrucache">13</a></strong><br>
2222
<strong>callable, <a href="#callable">17</a></strong><br>
2323
<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>
24+
<strong>closure, <a href="#closure">12</a>-<a href="#decorator">13</a></strong><br>
2525
<strong>collection, <a href="#abstractbaseclasses">4</a>, <a href="#collection">18</a>, <a href="#tableofrequiredandautomaticallyavailablespecialmethods">19</a></strong><br>
2626
<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>
2727
<strong>combinatorics, <a href="#combinatorics">8</a></strong><br>
2828
<strong>command line arguments, <a href="#commandlinearguments">22</a></strong><br>
2929
<strong>comparable, <a href="#comparable">16</a></strong><br>
3030
<strong>comprehensions, <a href="#comprehensions">11</a></strong><br>
31-
<strong>context manager, <a href="#contextmanager">17</a></strong><br>
31+
<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>
3232
<strong>copy function, <a href="#copy">15</a></strong><br>
3333
<strong>coroutine, <a href="#coroutines">33</a></strong><br>
3434
<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>
35+
<strong>csv, <a href="#csv">26</a>, <a href="#printsacsvfileasanasciitable">34</a>, <a href="#encodedecode">46</a></strong><br>
3636
<strong>curses module, <a href="#runsaterminalgamewhereyoucontrolanasteriskthatmustavoidnumbers">33</a>, <a href="#curses">34</a></strong><br>
3737
<strong>cython, <a href="#cython">49</a></strong> </p>
3838
<h3 id="d">D</h3>
3939
<p><strong>dataclasses module, <a href="#namedtupleenumdataclass">12</a>, <a href="#dataclass">15</a></strong><br>
4040
<strong>datetime module, <a href="#datetime">8</a>-<a href="#constructors">9</a></strong><br>
4141
<strong>decorator, <a href="#decorator">13</a></strong><br>
4242
<strong>deques, <a href="#deque">29</a></strong><br>
43-
<strong>dictionaries, <a href="#dictionary">2</a>, <a href="#otheruses">11</a></strong><br>
43+
<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>
4444
<strong>duck types, <a href="#ducktypes">16</a>-<a href="#abcsequence">19</a></strong> </p>
4545
<h3 id="e">E</h3>
4646
<p><strong>enum module, <a href="#enum">19</a>-<a href="#inline-2">20</a></strong><br>
4747
<strong>enumerate function, <a href="#enumerate">3</a></strong><br>
4848
<strong>eval function, <a href="#eval">33</a></strong><br>
49-
<strong>exceptions, <a href="#exceptions">20</a>-<a href="#exceptionobject">21</a>, <a href="#exceptions-1">23</a></strong> </p>
49+
<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>
5050
<h3 id="f">F</h3>
5151
<p><strong>files, <a href="#fileobject">23</a></strong><br>
5252
<strong>filter function, <a href="#mapfilterreduce">11</a></strong><br>
@@ -56,16 +56,17 @@ <h3 id="f">F</h3>
5656
<strong>futures, <a href="#threadpoolexecutor">30</a></strong> </p>
5757
<h3 id="g">G</h3>
5858
<p><strong>generators, <a href="#generator">4</a>, <a href="#comprehensions">11</a></strong><br>
59-
<strong>global keyword, <a href="#nonlocal">12</a></strong></p>
59+
<strong>global keyword, <a href="#nonlocal">12</a></strong><br>
60+
<strong>gui, <a href="#pysimplegui">48</a></strong> </p>
6061
<h3 id="h">H</h3>
61-
<p><strong>hashable, <a href="#hashable">16</a></strong><br>
62-
<strong>hexadecimal representation, <a href="#binhex">8</a></strong> </p>
62+
<p><strong>hashable, <a href="#dataclass">15</a>, <a href="#hashable">16</a></strong><br>
63+
<strong>hexadecimal representation, <a href="#ints">7</a>, <a href="#binhex">8</a>, <a href="#encode-1">28</a></strong> </p>
6364
<h3 id="i">I</h3>
6465
<p><strong>image, <a href="#image">39</a></strong><br>
65-
<strong>inline, <a href="#inline">11</a>-<a href="#namedtupleenumdataclass">12</a></strong><br>
66+
<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>
6667
<strong>input function, <a href="#input">22</a></strong><br>
6768
<strong>introspection, <a href="#introspection">31</a></strong><br>
68-
<strong>ints, <a href="#abstractbaseclasses">4</a>, <a href="#types">7</a>, <a href="#binhex">8</a></strong><br>
69+
<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>
6970
<strong>is operator, <a href="#comparable">16</a></strong><br>
7071
<strong>iterable, <a href="#abstractbaseclasses">4</a>, <a href="#iterable">18</a></strong><br>
7172
<strong>iterator, <a href="#iterator">3</a>, <a href="#iterator-1">17</a></strong><br>

pdf/index_for_pdf_print.html

Lines changed: 12 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ <h3 id="a">A</h3>
77
<p><strong>abstract base classes, 4, 19</strong><br>
88
<strong>animation, 40, 42-43</strong><br>
99
<strong>argparse module, 22</strong><br>
10-
<strong>arguments, 10, 12</strong><br>
10+
<strong>arguments, 10, 12, 22</strong><br>
1111
<strong>arrays, 29, 37-38</strong><br>
1212
<strong>asyncio module, 33</strong><br>
1313
<strong>audio, 40-41, 42</strong> </p>
@@ -21,32 +21,32 @@ <h3 id="c">C</h3>
2121
<p><strong>cache, 13</strong><br>
2222
<strong>callable, 17</strong><br>
2323
<strong>class, 4, 14-19, 31-32</strong><br>
24-
<strong>closure, 12</strong><br>
24+
<strong>closure, 12-13</strong><br>
2525
<strong>collection, 4, 18, 19</strong><br>
2626
<strong>collections module, 2, 3, 4, 19, 29</strong><br>
2727
<strong>combinatorics, 8</strong><br>
2828
<strong>command line arguments, 22</strong><br>
2929
<strong>comparable, 16</strong><br>
3030
<strong>comprehensions, 11</strong><br>
31-
<strong>context manager, 17</strong><br>
31+
<strong>context manager, 17, 23, 27, 30</strong><br>
3232
<strong>copy function, 15</strong><br>
3333
<strong>coroutine, 33</strong><br>
3434
<strong>counter, 2, 4, 12, 17</strong><br>
35-
<strong>csv module, 26, 34, 46</strong><br>
35+
<strong>csv, 26, 34, 46</strong><br>
3636
<strong>curses module, 33, 34</strong><br>
3737
<strong>cython, 49</strong> </p>
3838
<h3 id="d">D</h3>
3939
<p><strong>dataclasses module, 12, 15</strong><br>
4040
<strong>datetime module, 8-9</strong><br>
4141
<strong>decorator, 13</strong><br>
4242
<strong>deques, 29</strong><br>
43-
<strong>dictionaries, 2, 11</strong><br>
43+
<strong>dictionaries, 2, 4, 11, 19, 21</strong><br>
4444
<strong>duck types, 16-19</strong> </p>
4545
<h3 id="e">E</h3>
4646
<p><strong>enum module, 19-20</strong><br>
4747
<strong>enumerate function, 3</strong><br>
4848
<strong>eval function, 33</strong><br>
49-
<strong>exceptions, 20-21, 23</strong> </p>
49+
<strong>exceptions, 20-21, 23, 35</strong> </p>
5050
<h3 id="f">F</h3>
5151
<p><strong>files, 23</strong><br>
5252
<strong>filter function, 11</strong><br>
@@ -56,16 +56,17 @@ <h3 id="f">F</h3>
5656
<strong>futures, 30</strong> </p>
5757
<h3 id="g">G</h3>
5858
<p><strong>generators, 4, 11</strong><br>
59-
<strong>global keyword, 12</strong></p>
59+
<strong>global keyword, 12</strong><br>
60+
<strong>gui, 48</strong> </p>
6061
<h3 id="h">H</h3>
61-
<p><strong>hashable, 16</strong><br>
62-
<strong>hexadecimal representation, 8</strong> </p>
62+
<p><strong>hashable, 15, 16</strong><br>
63+
<strong>hexadecimal representation, 7, 8, 28</strong> </p>
6364
<h3 id="i">I</h3>
6465
<p><strong>image, 39</strong><br>
65-
<strong>inline, 11-12</strong><br>
66+
<strong>inline, 11-12, 15, 20</strong><br>
6667
<strong>input function, 22</strong><br>
6768
<strong>introspection, 31</strong><br>
68-
<strong>ints, 4, 7, 8</strong><br>
69+
<strong>ints, 4, 7, 8, 28</strong><br>
6970
<strong>is operator, 16</strong><br>
7071
<strong>iterable, 4, 18</strong><br>
7172
<strong>iterator, 3, 17</strong><br>

0 commit comments

Comments
 (0)