Python code that allows object-oriented HTML file creation.