how do get data from a created processor outside program without its original python object

308
March 21, 2017, at 9:26 PM

am letting users in my django python app to call a function which in turn creates a process with the multiprocessor module, but i need to let users check for the processor progress (retrieve data inside it) and status (alive or done executing) and possibly terminate it (which i found easy to do with system commands) without having access to processor object since i can't store it somewhere. is it possible to store in database only PID of the process (or some convenient identifier) and call it later? maybe try to get informations from it and manage it. the information if i could get it directly from the process would be much reliable rather than storing it somewhere else and retrieving it there.

the function that runs in the background as a process/daemon would be completely independent of the program and has its own data that changes overtime which i need to let users be able to check its progress.

Rent Charter Buses Company
READ ALSO
OpenPYXL Python errors on cell values

OpenPYXL Python errors on cell values

I have an excel file with a ton of rows, and a column containing HZ, NZ or SZ now is this erroring out, and I have no idea on how to fix it

688
Testing mix-ins with mock in python

Testing mix-ins with mock in python

I'd like to test if a mix-in correctly calls the methods of its future sister classMy approach would have been something like this:

418
Detect different color blob opencv

Detect different color blob opencv

i'm new to opencv and for a school project i need to detect a red and a green circle with a camera, so i've use blobdetection, but it detect me the two colors, i think that my mask is bad, each color is linked to a specific action

569