Last active
October 28, 2018 16:20
-
-
Save dineshsonachalam/4d2509fece0f447ada37469169f091c0 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from flask import Flask | |
app = Flask(__name__) | |
@app.route('/',endpoint='index') | |
def index(): | |
return "<h1>Hello world! We are using Flask!</h1>" | |
if __name__ == "__main__": | |
app.run(host="0.0.0.0",port=5000,debug=True) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment