Python HTML generator
Dominate is an HTML generation library that lets you easily create tags. In dominate, python reserved words are prefixed with an underscore, so it would look like this: from dominate.tags import * t = div(table(_id=”the_table”), _class=”tbl”) print(t) <div class=”tbl”> <table id=”the_table”></table> </div> Disclaimer: I am the author of dominate