Last active
March 26, 2019 17:50
-
-
Save coderinboots/34eff6e0d1b9c394b1028905badaf7ba to your computer and use it in GitHub Desktop.
Simple Python Flask application
This file contains 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("/") | |
def hello(): | |
return "Hello World!. This is Systemd Example" | |
if __name__ == "__main__": | |
app.run(host='0.0.0.0', port=8080) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment