1from flask import Flask
2
3app = Flask(__name__)
4
5@app.route('/')
6def index():
7 return "Hello world!"
8
9if __name__ == '__main__':
10 app.debug = True
11 app.run(host="0.0.0.0") #host="0.0.0.0" will make the page accessable
12 #by going to http://[ip]:5000/ on any computer in
13 #the network.