Adafruit Circuit Playground Express as an “On Air” Light
I made myself a super rudimentary on-air light from a gizmo I got in my PyCon US 2019 swag bag, and here’s how you can do it too.
TIL About shlex.split
Today I learned about shlex.split and it’s really cool.
Boolean Properties in Python: A Pitfall
I love using class properties as boolean flags, but occasionally forget the @property decorator.
Getting Nothing Out of a Python Dictionary
A bit of nuance about dealing with null and missing values in Python dictionaries.
Dedupe a List in Python, Slowly
A pretty slow way of removing duplicate elements in a Python list.
I goofed up the CalVer implementation because I had the dumbs, and now I’ve fixed it. Oops.
I made a tiny tool for generating Markdown URL tags and want to tell you about it.
Quick and Dirty Python: HOWTO
Let’s build up small Python script.
Quick and Dirty Python
Something I absolutely love about Python is just how well it scales from tiny scripts to complex systems. Here’s an example of the former.
I made an environment variable parsing library for Python, and forgot to tell you all about it!
Django Site Dispatch, Improved
Turns out I like this problem so much I had to solve it again.
Django Site Dispatch
Django’s “sites” framework is quite cool, but what if you need to make some exceptions?
Python’s dict.setdefault Rocks
Python’s dictionaries are awesome, and I just learned about yet another reason that’s the case.
I made a URL shortener with a static site generator.
✶ Modifying a List in Place in Python
A neat (if questionably legible) trick for modifying a list in place in Python, and a more Pythonic solution for the same problem.
I got tired of forgetting all about my 400+ starred GitHub projects and made a reminder app.
Sorting with Randomization
Sorting with pure chance, with some elementary stats.