import sys
from module import test
from flask import Flask

app = Flask(__name__)

@app.route('/')
def index():
    return test.test_print()

if __name__ == '__main__':
    app.run(port=8000, debug=True)

@@ -23,20 +23,21 @@
  import 
-test
+init 
 %0Afrom fl
@@ -52,16 +52,76 @@
 rt Flask
+%0Afrom flask import render_template%0Afrom flask import url_for
 %0A%0Aapp = 
@@ -153,16 +153,37 @@
 te('/')%0A
+@app.route('/index')%0A
 def inde
@@ -202,25 +202,385 @@
 urn 
-test.test_print()
+render_template('index.html')%0A%0A@app.route('/signup')%0Adef sign_up():%0A    return 'WIP'%0A%0A@app.route('/signin')%0Adef sign_in():%0A    return 'WIP'%0A%0A@app.route('/dashboard')%0Adef dashboard():%0A    return 'WIP'%0A%0A@app.route('/test')%0Adef http_test():%0A    return init.test_print()%0A%0A# error handler%0A@app.errorhandler(404)%0Adef page_not_found(e):%0A        return render_template('404.html'), 404
 %0A%0Aif

Add HTTP error exception and init some code.