摘要:
import os from flask import Flask, render_template, request, redirect app = Flask(__name__) @app.route('/login', methods=['GET', 'POST']) # 路由中将允许的请求方 阅读全文
摘要:
from flask import Flask, render_template, redirect, send_file, jsonify app = Flask(__name__) #创建应用 @app.route('/index') #路由绑定视图函数 def hello(): #输出字符串 阅读全文