一.request属性 path 获取url全路径(出去域名外) 用法: request.path GET 用户所有的get内容以字典的形式存储 例:{'name':'alan'} 用法: data = request.GET.get('name') POST 用户所有的post内容以字典的形式存储 例:{'name':'alan'} 用法: data = request.POST.get('name') MATE 客户端所有的头部信息以字典形式存储 用法: data = request.MA…
# -*- coding: utf-8 -*- """ Created on Thu Jan 4 19:52:03 2018 @author: markli """ import numpy as np; import pandas as pd; from sklearn import linear_model; from sklearn.externals import joblib; import sys; sys.path.append('…