Implementation of separated work process for python call