I am looking for a way to create html files dynamically in python. I am writing a gallery script, which iterates over directories, collecting file meta data. I intended to
I think, if i understand you correctly, you can see here, "Templating in Python".