@@ -0,0 +1,732 @@
+from flask import Flask, render_template%0Afrom sendEmail import *%0Afrom sense_hat import SenseHat%0A%0Aapp = Flask(__name__)%0A%0A@app.route('/')%0A%0Adef index():%0A    sense = SenseHat()%0A    sense.clear()%0A%0A    celcius = round(sense.get_temperature(), 1)%0A    fahrenheit = round(1.8 * celcius + 32, 1)%0A    humidity = round(sense.get_humidity(), 1)%0A    pressure = round(sense.get_pressure(), 1)%0A%0A    acceleration = sense.get_accelerometer_raw()%0A    x = round(acceleration%5B'x'%5D, 2)%0A    y = round(acceleration%5B'y'%5D, 2)%0A    z = round(acceleration%5B'z'%5D, 2)%0A%0A    return render_template('weather.html', celcius=celcius, fahrenheit=fahrenheit, humidity=humidity, pressure=pressure, x=x, y=y, z=z)%0A%0Awhile __name__ == '__main__':%0A    app.run(host='0.0.0.0')%0A

Create web_app.py