title: python subclassing multiprocessing.Process
body: <p>I am new to python object oriented and I am rewriting my existing application as an object oriented version, because now developers are increasing and my code is becoming un-maintainable.</p>
  
  <p>Normally I use multiprocessing queues but I found from this example <a href="http://www.doughellmann.com/PyMOTW/multiprocessing/basics.html" rel="noreferrer">http://www.doughellmann.com/PyMOTW/multiprocessing/basics.html</a> that I can subclass <code>multiprocessing.Process</code> so I think it's a good idea and I wrote a class to test like this:</p>
  
  <p>code:</p>
  
  <pre><code>from multiprocessing import Process
  class Processor(Process):
      def return_name(self):
          return "Process %s" % self.name
      def run(self):
          return self.return_name()
  
  processes = []
  
  
  if __name__ == "__main__":
  
          for i in range(0,5):
                  p=Processor()
                  processes.append(p)
                  p.start()
          for p in processes:
                  p.join()
  </code></pre>
  
  <p>However I cannot get back the values, how can I use queues in this way? </p>
  
  <p>EDIT: I want to get the return value and thinking where to put <code>Queues()</code>.</p>