#!/usr/bin/env python from flask import Flask, render_template, send_from_directory app = Flask(__name__) @app.route("/") def hello_world(): return render_template('index.html') @app.route("/calibration") def calibration(): return render_template('calibration.html') @app.route('/static/') def send_static(path): return send_from_directory('static', path) @app.route('/data/') def send_data(path): return send_from_directory('data', path)