Created
May 11, 2016 23:41
-
-
Save jsutch/518b60f656daad142617445bb9e082cd to your computer and use it in GitHub Desktop.
flask file
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, render_template | |
app= Flask(__name__) | |
@app.route('/') | |
@app.route('/success') | |
@app.route('/test') | |
def hello_world(): | |
return render_template('index.html') | |
def success(): | |
return render_template('success.html') | |
def test(): | |
return "Working!" | |
app.run(debug=True) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment