Py.Cafe

gbrammer/

dash-test

Dynamic Styling with Dash

DocsPricing
  • app.py
  • requirements.txt
app.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
from flask import Flask, request, send_file

app = Flask(__name__)
app.debug = True

@app.route("/")
def show_help():
    """
    Dump help.html
    """
    lines = ["Help?"]
    return ''.join(lines)

# if __name__ == '__main__':
app.run(threaded=False, port=5000)