I fucked up big time. I have attempted to make a custom made chart, while, to my knowledge, one is readily available and more easily incorporated to the website design.
15 lines
345 B
Python
15 lines
345 B
Python
from flask import Flask
|
|
app = Flask(__name__)
|
|
|
|
@app.route('/', methods = ['GET', 'POST'])
|
|
def index():
|
|
value = request.json['key']
|
|
return value
|
|
|
|
if __name__ == '__main__':
|
|
app.run
|
|
|
|
|
|
test = open("JsonJs", "r")
|
|
req = requests.post('C:/Users/Janez%20Dolzan/Documents/Python%20projects/Spektrometer/GitHub/TeraHz/frontend/website.html')
|