资 源 简 介
Dirty is a simple EDSL template library that helps you to write some HTML
or XML markup with Python. It is inspired by Markaby.
>>> from dirty.html import *>>> page = xhtml(... head(... title("Dirty"),... meta(name="Author", content="Hong Minhee ")... ),... body(... h1("Dirty"),... p("Dirty is a simple DSEL template library that...")... )... )>>> print(page)
Dirty