Answers for "open a python script on click flask"

0

open a python script on click flask

@app.route('/run-script')
def run_script():
   result = subprocess.check_output("python main.py", shell=True)
   return render_template('results.html', **locals())
Posted by: Guest on September-30-2020

Code answers related to "open a python script on click flask"

Python Answers by Framework

Browse Popular Code Answers by Language