#!/usr/bin/env python # From: https://towardsdatascience.com/python-webserver-with-flask-and-raspberry-pi-398423cc6f5d from flask import Flask app = Flask(__name__) @app.route('/') def index(): return 'hello, world' if __name__ == '__main__': app.run(debug=True, port=8080, host='0.0.0.0')