title: Python multiprocessing giving two different pid for same object
body: <p>i'm using <strong>Windows</strong></p>
  <pre><code>import multiprocessing
  import os
  class BaseModule(multiprocessing.Process):
      def __init__(self):
          print(&quot;Initialize time pid: &quot;,os.getpid())
          multiprocessing.Process.__init__(self)
          super().__init__()
  
      def get_pid(self):
          print(&quot;After new process pid: &quot;,os.getpid())
  
      def run(self):
          self.get_pid()
          
  if __name__ == '__main__':
      process = BaseModule()
      process.start()
  </code></pre>
  <p>OUTPUT:</p>
  <pre><code>Initialize time pid:  22148
  After new process pid:  21244
  </code></pre>
  <p>In here same object get two different pid I need <strong>full object create and run in new process using multiprocessing(same pid)?</strong></p>