Flask 可以以HTML形式返回绑定到某个URL的函数的输出。 例如,在以下脚本中, hello() 函数将使用附加的 <h1> 标记呈现'Hello World' 。 from flask import Flask app ...
確定! 回上一頁