Skip to content

Instantly share code, notes, and snippets.

@onlinejudge95
Last active December 17, 2019 13:06
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save onlinejudge95/cbc3117b1ba383e6fa46809fc07bb96f to your computer and use it in GitHub Desktop.
Save onlinejudge95/cbc3117b1ba383e6fa46809fc07bb96f to your computer and use it in GitHub Desktop.
Hello world in flask
from flask import Flask
app = Flask(__name__)
@app.route("/")
def hello():
return "Hello World!"
if __name__ == "__main__":
app.run()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment