I'll see if I can dig up the old thread. Just wanted to leave this code out here. It's probably not the best way to get it to work (two loops and all) but it can serve as an example of how to work it in to the writer if anyone else wants to experiment.
Python is not even in my usual language group so... yea.
If anyone else has thoughts... let me know.