<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>If we need only substitution, probably it's better to use standard templating<br></div><div>in python [1], there is a way to redefine tokens, so you will be able to use</div><div><% %> syntax if you want to.</div><div><br></div><div>[1] <a href="https://docs.python.org/dev/library/string.html#template-strings" target="_blank">https://docs.python.org/2.6/library/string.html#template-strings</a></div><div>[2] <a href="http://pymotw.com/2/string/#advanced-templates" target="_blank">http://pymotw.com/2/string/#advanced-templates</a></div></div></blockquote><div><br></div><div>I think it's a better solution for this issue.</div><div><br></div><div>/sv </div></div></div></div>