DmitrMakeev commited on
Commit
1a2e8ec
1 Parent(s): 19890a1

Create app.py

Browse files
Files changed (1) hide show
  1. app.py +11 -0
app.py ADDED
@@ -0,0 +1,11 @@
 
 
 
 
 
 
 
 
 
 
 
 
1
+ from flask import Flask, render_template
2
+
3
+ app = Flask(__name__)
4
+
5
+ @app.route('/')
6
+ def index():
7
+ name = 'John'
8
+ return render_template('index.html', name=name)
9
+
10
+ if __name__ == '__main__':
11
+ app.run()