0

I am using flask but i wanted to create a form that can pass variables to another python script that will run when a user clicks submit. Can anyone point me to any examples of this? I have been searching for some kind of example of this.

3
  • You can use os.system("python blah.py") to run another program in your flask program Commented Sep 28, 2017 at 23:23
  • How would this work with passing arguments from a form? Commented Sep 28, 2017 at 23:24
  • When the arguments come, you can use a request to get the arguments, and then in that function, you can run another program Commented Sep 28, 2017 at 23:26

0

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.