写这个的目的是稍微熟悉一下数据在前端和后端是怎么传输的orz
Code
addWaterMarking和testWaterMarking应该是在前一篇
http://blog.csdn.net/birdy_/article/details/78822350
#coding:utf-8
import sys
reload(sys)
sys.setdefaultencoding("utf-8")
import os
from flask import Flask,url_for,render_template,request,url_for,redirect,send_from_directory
from addMark import addWaterMarking
from testMark import testWaterMarking
from werkzeug import secure_filename
import sys
reload(sys)
sys.setdefaultencoding('utf-8')
UPLOAD_FOLDER='home'
ALLOWED_EXTENSIONS=set(['png','jpg','jpeg','gif'])
app=Flask(__name__)
global</