Python code generator for basic static website