Cheap Python HTML Templater
A few months ago, I was organizing some tables of handy links, and was frustrated because I wanted to organize my tables by column (list column 1, then column 2, etc.), but I don't know of a way to get HTML to invert tables. So I wrote a cheap Python HTML template processor.
Here is a raw directory
of what I have now. Not really in a distributable form for anyone
who isn't ready to do a fair amount of customization.
Even cheaper documentation:
-
index.template --
-
the HTML shell, input to the python script
-
index_guts.py --
-
the python script itself, including the
contents of all of the tables
-
index_new.html --
-
example output from running index_guts.py
-
addURL --
- a shell script (Rated R, language) that adds stuff
to the Additions.html file.
And, yeah, I know that makes about 57 varieties of Cheap Python HTML Templaters out there. You might want to check out the one Alex Martelli put into the ASPN Python Cookbook instead of this one.
Ah, crap. Ran into Radio's weird restrictive notions about file types again. So I renamed the files with faked out .txt endings.
12:34:37 AM