def run(host, port): httpd = make_server(host, port, app) print("Serving on port %s..." % (port)) httpd.serve_forever()