Skip to content

Instantly share code, notes, and snippets.

@Poincare
Created August 26, 2011 11: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 Poincare/1173212 to your computer and use it in GitHub Desktop.
Save Poincare/1173212 to your computer and use it in GitHub Desktop.
from flask import render_template, Flask
app = Flask(__name__)
@app.route('/hello')
def hello():
return render_template('hello.html')
if __name__ == "__main__":
app.run()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment