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

python - Consider setting $PYTHONHOME to <prefix>[:<exec_prefix>] error -

database - How many Observations in SAS Sample Data Output -

How to Change swipe Tab Title color in java Android -