Skip to content

Instantly share code, notes, and snippets.

@MachineLearningIsEasy
Created November 3, 2021 12:18
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save MachineLearningIsEasy/8651ca69b3e75a77170606eee886f60c to your computer and use it in GitHub Desktop.
Save MachineLearningIsEasy/8651ca69b3e75a77170606eee886f60c to your computer and use it in GitHub Desktop.
Flask hello world
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