python学习

This commit is contained in:
2019-07-18 08:59:26 +08:00
parent 8ebdee9a2c
commit 7bd7a50cff
347 changed files with 149728 additions and 82 deletions

View File

@@ -0,0 +1,8 @@
# -*- coding: utf-8 -*-
from flask import Blueprint,send_from_directory
from application import app
route_static = Blueprint('static', __name__)
@route_static.route("/<path:filename>")
def index( filename ):
return send_from_directory( app.root_path + "/web/static/" ,filename )