慕田峪9158850
用个全局变量results = None@app.route('/search', methods=['get', 'post']) #这是搜索页面def fsearch():.... if request.method == 'POST':global resultsresults = multiselect(request) #这是处理表单的函数,reslults为list类型变量... return render_template("new.html")@app.route('/result', methods=['get', 'post']) #这是结果页面def fresult():global resultsprint results return render_template("result.html")