python: html writer?
- by Bin Chen
With jquery it's very easy to insert some element inside another element using the selector technology, I am wondering if there is any python library that can do things similar with jquery, the reason is I want server side python program to produce the static pages, which needs to parse the html and insert something into it.
Or other alternative, not in python language at all?
EDIT: To be clear, I want to use python to write below program:
h = html.parse('temp.html')
h.find('#idnum').html('<b>my html generated</b>')
h.close()