我知道flask函数render_template.我必须给出模板的文件名.但现在我想渲染一个模板的字符串(即模板的内容).那讲得通.但我现在不想解释原因.如何简单地渲染模板的文本? 你可以使用 rend
          render_template_string: 
  
  
 >>> from flask import render_template_string
>>> render_template_string('hello {{ what }}', what='world')
'hello world'
        
             