title: How to copy a module
body: <p>Let's assume I've got two modules <code>a.py</code> and <code>b.py</code>. <code>b</code>should be a copy of <code>a</code>.
  Let's assume this is the content of <code>a</code>:</p>
  
  <pre><code>#a.py
  class Original(object):
      name = 'original'
  </code></pre>
  
  <p>The most obvious way to duplicate <code>a</code> would be something like this:</p>
  
  <pre><code>#b.py
  from a import *
  </code></pre>
  
  <p>But this does not really copy <code>a</code>, e.g.</p>
  
  <pre><code>&gt;&gt;&gt;import a, b
  &gt;&gt;&gt;#this changes a.Original.name as well
  &gt;&gt;&gt;b.Original.name = 'FOOBAR'
  &gt;&gt;&gt;a.Original.name == 'FOOBAR'
  True
  </code></pre>
  
  <p>So my question is How do I make a real copy?</p>