Ironically, the only time I actaully blog is when I'm hacking at my blog.
I wanted a simple HTML category list for my Pyblosxom blog. I hacked something up quickly, without much regard to maintanability or portability.
'
for d in dirs:
rd = os.path.split(d)[-1]
html += '