One big issues is wether this is synchronous or asynchronous. If the script takes time you need to write the output to a file and read it incrementally when polled by the web app. it may be convent to wrap your script in a service and have the web app call the service.
On Thursday, 1 December 2016 00:08:02 UTC-6, Alex M wrote: > > When wanting to make a web gui for a python script, is it then better to > use a python web framework? > > I other words is there a better interaction between web2py and python > scripts running on the server, than when using something like RoR to > interact with python scripts. Or does it not matter since you would > probably be communicating via REST anyway? > > The reason I am asking is because I want to make a web gui for my videopy > script. > The user should be able to select some videos, then run the script and see > the result. > > I am through the first 3 chapters of the web2py book, and I am really > impressed, but I just got curious. > -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list (Report Issues) --- You received this message because you are subscribed to the Google Groups "web2py-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.

