Skip to content

Commit f9c8159

Browse files
added twelfth Python tip
1 parent 6d798c8 commit f9c8159

File tree

8 files changed

+329
-3
lines changed

8 files changed

+329
-3
lines changed

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,7 @@ I'm addicted to reading fantasy/sci-fi books, so I have a [blog](https://learnby
5656

5757
## Tips
5858

59+
* [Python tip 12: negate a regex grouping](https://learnbyexample.github.io/tips/python-tip-12/)
5960
* [Vim tip 10: Undo and Redo](https://learnbyexample.github.io/tips/vim-tip-10/)
6061
* [CLI tip 11: longest line length](https://learnbyexample.github.io/tips/cli-tip-11/)
6162
* [Python tip 11: capture external command output](https://learnbyexample.github.io/tips/python-tip-11/)

atom.xml

Lines changed: 68 additions & 1 deletion
Large diffs are not rendered by default.

sitemap.xml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -426,6 +426,10 @@
426426
<loc>https://learnbyexample.github.io/tips/python-tip-11/</loc>
427427
<lastmod>2022-06-01</lastmod>
428428
</url>
429+
<url>
430+
<loc>https://learnbyexample.github.io/tips/python-tip-12/</loc>
431+
<lastmod>2022-06-22</lastmod>
432+
</url>
429433
<url>
430434
<loc>https://learnbyexample.github.io/tips/python-tip-2/</loc>
431435
<lastmod>2022-05-16</lastmod>

tags/index.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -349,7 +349,7 @@
349349

350350
<a href="https:&#x2F;&#x2F;learnbyexample.github.io&#x2F;tags&#x2F;python&#x2F;">
351351
python
352-
<span class="count">30</span>
352+
<span class="count">31</span>
353353
</a>
354354

355355
<a href="https:&#x2F;&#x2F;learnbyexample.github.io&#x2F;tags&#x2F;re-module&#x2F;">
@@ -404,7 +404,7 @@
404404

405405
<a href="https:&#x2F;&#x2F;learnbyexample.github.io&#x2F;tags&#x2F;tip&#x2F;">
406406
tip
407-
<span class="count">32</span>
407+
<span class="count">33</span>
408408
</a>
409409

410410
<a href="https:&#x2F;&#x2F;learnbyexample.github.io&#x2F;tags&#x2F;tutorial&#x2F;">

tags/python/index.html

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -124,6 +124,13 @@
124124
<div class="taxonomy">
125125
<h2>python</h2>
126126

127+
<div class="taxonomy__item">
128+
<span class="taxonomy__item__time">2022-06-22</span>
129+
<span class="taxonomy__item__title">
130+
<a href="https:&#x2F;&#x2F;learnbyexample.github.io&#x2F;tips&#x2F;python-tip-12&#x2F;">Python tip 12: negate a regex grouping</a>
131+
</span>
132+
</div>
133+
127134
<div class="taxonomy__item">
128135
<span class="taxonomy__item__time">2022-06-01</span>
129136
<span class="taxonomy__item__title">

tags/tip/index.html

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -124,6 +124,13 @@
124124
<div class="taxonomy">
125125
<h2>tip</h2>
126126

127+
<div class="taxonomy__item">
128+
<span class="taxonomy__item__time">2022-06-22</span>
129+
<span class="taxonomy__item__title">
130+
<a href="https:&#x2F;&#x2F;learnbyexample.github.io&#x2F;tips&#x2F;python-tip-12&#x2F;">Python tip 12: negate a regex grouping</a>
131+
</span>
132+
</div>
133+
127134
<div class="taxonomy__item">
128135
<span class="taxonomy__item__time">2022-06-15</span>
129136
<span class="taxonomy__item__title">

tips/index.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -126,6 +126,7 @@ <h1 id="list-of-all-tips-bulb"><p style="color: #c05b4d">List of all tips 💡</
126126
<p>This page links to tips about <u><a href="https://learnbyexample.github.io/tips/#python">Python</a></u>, <u><a href="https://learnbyexample.github.io/tips/#command-line-tools">Command line tools</a></u> and <u><a href="https://learnbyexample.github.io/tips/#vim">Vim</a></u></p>
127127
<h2 id="python-snake"><p style="color: #ff6600"><a name="python"></a>Python 🐍</h2>
128128
<ul>
129+
<li><a href="https://learnbyexample.github.io/tips/python-tip-12/">Python tip 12: negate a regex grouping</a></li>
129130
<li><a href="https://learnbyexample.github.io/tips/python-tip-11/">Python tip 11: capture external command output</a></li>
130131
<li><a href="https://learnbyexample.github.io/tips/python-tip-10/">Python tip 10: removeprefix and removesuffix string methods</a></li>
131132
<li><a href="https://learnbyexample.github.io/tips/python-tip-9/">Python tip 9: applying set-like operations for dictionaries</a></li>

tips/python-tip-12/index.html

Lines changed: 239 additions & 0 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)