Please enable JavaScript.
Coggle requires JavaScript to display documents.
B站_Flask - Coggle Diagram
B站_Flask
配置文件
路由
視圖函數
請求響應
模板
session
閃現
-
閃現取放
放
app.route('/x1', methods= ['GET', 'POST'])
def login():
flash(' 快來拿')
- 1 more item...
請求
request.method
request.args (Get)
request.form (POST)
request.cookies
request.headers
request.path
rquest.files
obj=request.files['file_name']
obj.save('/var/www/uploads')+secure_filname()
響印
return json.dumps({}) = #return jsonify({})
return render_template(''index.html', n=123)
return redirect('/index')
-
-
-
oject
-
map()
lambda
-
.format()
-
in
-
.split()
-
.strip()
-
list 合併
-
.append()
- 2 more items...
-