
1) Python really likes whitespace to be properly formatted. Hopefully that will come across (if not, you might have to view source and copy+paste)
2) Hopefully LJ will not be confused by the embedded HTML bits, greater-than, and less-than signs.
[code here deleted]
http://diedrichs.org/lj.py.txt
10/22/2001 — Sorry…the Python code freaked out a bunch of people’s pages. Follow the above link to get to the source (some browsers will try to view this as HTML, so you need to view the source and save it as a Python script).