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)

import sys
from module import init 
from flask import Flask
from flask import render_template
from flask import url_for

app = Flask(__name__)

@app.route('/')
@app.route('/index')
def index():
    return render_template('index.html')

@app.route('/signup')
def sign_up():
    return 'WIP'

@app.route('/signin')
def sign_in():
    return 'WIP'

@app.route('/dashboard')
def dashboard():
    return 'WIP'

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

# error handler
@app.errorhandler(404)
def page_not_found(e):
        return render_template('404.html'), 404

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

Add HTTP error exception and init some code.
[UPDATE]: Add HTTP error exception and init some code.
