Meta: Looking at the code at [0], all of the code is at the root level. Please, don&#x27;t do that. It makes it quite hard to do static analysis on the code (i.e. pylint), since merely importing the code to do the code tree walk will execute the code logic. Ditto generating documentation from the code.<p>It can create a fair bit of boilerplate (relative to your average Python boilerplate), but the `if name == &quot;__main__&quot;:` guard keeps this under control.<p>[0] <a href="https:&#x2F;&#x2F;github.com&#x2F;edmund-huber&#x2F;sssgen&#x2F;blob&#x2F;master&#x2F;bin&#x2F;sssgen" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;edmund-huber&#x2F;sssgen&#x2F;blob&#x2F;master&#x2F;bin&#x2F;sssge...</a>