Created
November 3, 2021 12:18
-
-
Save MachineLearningIsEasy/8651ca69b3e75a77170606eee886f60c 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 main_flask_function(): | |
return 'Hello world!' | |
@app.route('/big_data_school') | |
def bds_flask_function(): | |
return 'BDS the Best!' | |
if __name__ == '__main__': | |
app.run(debug=True) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment