hello.py

from flask import Flask, request app = Flask(__name__) @app.route("/") def hello(): print request.headers return "Hello World!" if __name__ == "__main__": app.run()
flask dummy app

Be the first to comment

You can use [html][/html], [css][/css], [php][/php] and more to embed the code. Urls are automatically hyperlinked. Line breaks and paragraphs are automatically generated.