<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/"><channel><title>Python on Widgita</title><link>https://widgita.xyz/tags/python/</link><description>Recent content in Python on Widgita</description><generator>Hugo</generator><language>en-us</language><lastBuildDate>Sun, 19 Apr 2026 00:00:00 +0000</lastBuildDate><atom:link href="https://widgita.xyz/tags/python/index.xml" rel="self" type="application/rss+xml"/><item><title>Automated Folder Watching</title><link>https://widgita.xyz/posts/2026/04/automated-folder-watching/</link><pubDate>Sun, 19 Apr 2026 00:00:00 +0000</pubDate><guid>https://widgita.xyz/posts/2026/04/automated-folder-watching/</guid><description>&lt;p&gt;I used file watching loops for almost my entire career (professionally and personally). It&amp;rsquo;s always been a &lt;code&gt;for&lt;/code&gt; loop or &lt;code&gt;os.walk&lt;/code&gt; or similar (C/C++/Python/SBCL/&amp;hellip;), and it was always lots of boilerplate code. Not difficult, just a bunch of lines to maintain and make sure they catch all corner cases.&lt;/p&gt;
&lt;p&gt;While setting up this blogging pipeline (thank goodness I can just concentrate on the &lt;em&gt;typing&lt;/em&gt; part and deployment happens automagically) I got to learn about gorakhargosh&amp;rsquo;s &lt;code&gt;watchdog&lt;/code&gt; Python library. You should totally check out &lt;a href="https://github.com/gorakhargosh/watchdog"&gt;their GitHub page&lt;/a&gt; for the project! It&amp;rsquo;s a bit dated, but does the job perfectly fine!&lt;/p&gt;</description></item></channel></rss>