I have the code below in my Python script:
def cmd_wui(argv, path_to_tx): \"\"\"Run a web UI.\"\"\" from flask import Flask, flash, jsonify, render_t
You need a Flask view that will receive POST data and an HTML form that will send it.
from flask import request @app.route('/addRegion', methods=['POST']) def addRegion(): ... return (request.form['projectFilePath'])
Project file path: