Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

simple flask hello world

from flask import Flask

app = Flask(__name__)

@app.route("/")
def hello_world():
    return "<p>Hello, World!</p>"

if __name__ == "__main__":
	app.run(debug=True)
 
PREVIOUS NEXT
Tagged: #simple #flask #world
ADD COMMENT
Topic
Name
4+2 =