python学习

This commit is contained in:
2019-08-16 18:23:51 +08:00
parent e9dc704419
commit cb6625f1ea
5 changed files with 240 additions and 144 deletions

13
imooc.py Normal file
View File

@@ -0,0 +1,13 @@
from flask import Blueprint
route_imooc=Blueprint("imooc_page",__name__)
@route_imooc.route("/")
def index():
return 'imooc index page'
@route_imooc.route("/hello")
def hello():
return "imooc Hello World"