Generate HTML with Yattag
Yattag is a Python library for generating HTML or XML in a pythonic way.
With Yattag,
you don't have to worry about closing HTML tags
your HTML templates are Python code. Not a weird template language. Just Python.
you can easily render HTML forms, ...
codebrickroad.com21 min read