This is probably a very simple question but I did not find any solution until now and I have been around this hours
I have one HTML file "teste.html" I Use jinja 2 to change my HTML
env = Environment(loader=FileSystemLoader('.'))
template = env.get_template("teste.html")
template_vars = {"Client" : Name}
html_out = template.render(template_vars)
type(html_out)
finish with a html_out that is s string
type(html_out)
Out[60]: str
Now I want to save this html_out in a HTML document
How can I do that?