Reusables 0.8 has just been released, and it’s about time I give it a proper introduction. I started this project three years ago, with a simple goal of keeping code that I inevitably end up reusing grouped into a single library. It’s for the stuff that’s...
Continue reading...tutorial
Indisputably immutable
For many of us, as we develop as coders, we want to continue to grow our knowledge. We pour over the standard library (STL) of this wonderful language, looking for hidden gems. There are many such gems in the Python STL. Such as all the fun...
Continue reading...Exception! Exception! Read all about it!
Exceptions in Python aren’t new, and pretty easy to wrap your head around. Which means you should have no trouble following what this example will output. Simple, right? It raises both except clauses, triggering the warning and so your screen will obviously print False and the warning. So...
Continue reading...Your first date with Python logging
Logging vs Print The difference between logging and using print isn’t simply personal preference, rather choosing the proper tool per use case. Check out the Python docs when to use logging if you don’t believe me. If you are simply using Python to write scripts with clear paths and...
Continue reading...