Python Script to generate HTML in/out of the office table