@app.route('/new', methods=['POST'])
def new():
    os.system(('python3 window.py ' + request.get_data(as_text=True)))
    return 'OK'
@app.route('/new', methods=['POST'])
def new():
    os.system(('python3 window.py ' + request.get_data(as_text=True)))
    return 'OK'