python 2.7 - How to modify a pyramid template on the fly before rendering -


please working on site scrap website's html table source code , append template before rendering page. have written script stores html code in variable don't know how appendix it. kindly suggest.

if you're using jinja, try this:

<div class="html-content">{{scraped_html|safe}}</div>


Comments

Popular posts from this blog

javascript - Feed FileReader from server side files -

java - How to create your own button and Use it with Scene Builder for javafx -

c++ - Drawing a circle in directx 9 -