Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

python hello world web application

from flask import Flask

app = Flask(__name__)

@app.route('/')
def index():
	return 'Hello World!'

if __name__ == "__main__":
	app.run(host='0.0.0.0', debug=True)
 
PREVIOUS NEXT
Tagged: #python #world #web #application
ADD COMMENT
Topic
Name
6+4 =