Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- from werkzeug.wrappers import Request, Response
- from flask import Flask
- app = Flask(__name__)
- @app.route("/<int:a>,<int:b>")
- def hello(a,b):
- return a + b
- if __name__ == '__main__':
- from werkzeug.serving import run_simple
- run_simple('localhost', 9000, app)
Add Comment
Please, Sign In to add comment