Files
Python-Machine-Learning-Sec…/Chapter09/1st_flask_app_1/app.py
T
2017-09-12 13:56:28 +05:30

10 lines
190 B
Python

from flask import Flask, render_template
app = Flask(__name__)
@app.route('/')
def index():
return render_template('first_app.html')
if __name__ == '__main__':
app.run(debug=True)