'Generic python worker for running python code on threads.'

def __init__(self, func, args, kwargs):

    super(PythonWorker, self).__init__()
    self.func = func
    self.args = args
    self.kwargs = kwargs
    self._is_finished = False
    self._started = False
