Skip to content

Instantly share code, notes, and snippets.

@JohnnyFang
Created December 28, 2018 23:53
Show Gist options
  • Save JohnnyFang/3de495d1b0308182a587368eb440661c to your computer and use it in GitHub Desktop.
Save JohnnyFang/3de495d1b0308182a587368eb440661c to your computer and use it in GitHub Desktop.
flask sample hello
from flask import Flask
app = Flask(__name__)
@app.route("/")
def hello():
return "Hello World!"
if __name__ == '__main__':
app.debug = True
app.run()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment