There are a number of small Python functions that I have copied around to several of my projects, both professional and personal. They are unrelated but generally useful and I have put them into a single repository at gitlab.com/johngoetz/pyutil. Here, I’ll talk about the smaller and more useful methods that I use almost daily.
Back-Porting Features from Older Versions of Python
When dealing with many different systems and platforms, such as in automated testing infrastructure for desktop application software, we can’t always keep Python up to date. This shouldn’t stop us from using new features however and there are a few specific methods that I always back-port to earlier versions of Python.
[Read More]