python学习

This commit is contained in:
2019-07-21 18:20:01 +08:00
parent 7bd7a50cff
commit 11752bbb8d
405 changed files with 72156 additions and 529 deletions

View File

@@ -0,0 +1,26 @@
# -*- coding: utf-8 -*-
from flask import Blueprint,render_template
route_food = Blueprint( 'food_page',__name__ )
@route_food.route( "/index" )
def index():
return render_template( "food/index.html" )
@route_food.route( "/info" )
def info():
return render_template( "food/info.html" )
@route_food.route( "/set" )
def set():
return render_template( "food/set.html" )
@route_food.route( "/cat" )
def cat():
return render_template( "food/cat.html" )
@route_food.route( "/cat-set" )
def catSet():
return render_template( "food/cat_set.html" )

View File

@@ -0,0 +1 @@
# -*- coding: utf-8 -*-