helpers.py 文件源码

python
阅读 25 收藏 0 点赞 0 评论 0

项目:Prism 作者: Stumblinbear 项目源码 文件源码
def include_static(name):
    """ Load a file from the /static/ directory """
    desired_file = os.path.join(flask_app.static_folder, name)
    with open(desired_file) as f:
        return jinja2.Markup(f.read())
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号