How To Run A Task Outside Web2py And Retrieve The Output
Getting extended processing times inside web2py when running clustering algorithms. Tried running the algorithm on a standalone python instance and it finishes in 4-5s, in web2py,
Solution 1:
You should use http://docs.python.org/2/library/subprocess.html#module-subprocess to a brand new Python instance and passing parameter through stdin
/ stdou
using pickling (serialization).
Post a Comment for "How To Run A Task Outside Web2py And Retrieve The Output"