Created
June 24, 2018 21:24
-
-
Save ZENEZ-ORG/08696add3fa42cd9cc458f7c326c2749 to your computer and use it in GitHub Desktop.
flask hello_world
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_world(): | |
return "<span style='color:red'>I am app 1</span>" | |
if __name__ == '__main__': | |
app.run(host='127.0.0.1',port=8000,debug=True) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment