Html5 generator
Project description
Generate HTML. Usage:
import genhtml
html=genhtml.HTML()
p=html.open('p')
p.attrs['style']='color:red;'
p.write('Hello!')
html.commit(p)
tags=html.get_tags()
tags[0].write('Using genhtml')
html.set_tags(tags)
html.open_in_browser()
print(genhtml.formated(html.output()))
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
genhtml-2.0.0.tar.gz
(1.8 kB
view hashes)