@@ -0,0 +1,531 @@
+import SimpleHTTPServer%0Aimport SocketServer%0Afrom flask import Flask, request, session, g, redirect, url_for,%5C%0A                  abort, render_template, flash%0A%0Aapp = Flask(__name__)%0Aapp.config.from_object(__name__)%0A%0A@app.route('/', methods = %5B'GET', 'POST'%5D)%0Adef index():%0A    if request.method == 'POST':%0A        card_image  = request.files%5B'image'%5D%0A        return render_template('index.html', attachment = card_image)%0A    else:%0A        return render_template('index.html')%0A%0Aif __name__ == '__main__':%0A    app.run(host= '0.0.0.0')%0A

set up simple server to handle image processing using flask