title: Python: How to load a module twice?
body: <p>Is there a way to load a module twice in the same python session?<br>
  To fill this question with an example: Here is a module:</p>
  
  <p>Mod.py</p>
  
  <pre><code>x = 0
  </code></pre>
  
  <p>Now I would like to import that module twice, like creating two instances of a class to have actually two copies of <code>x</code>.</p>
  
  <p>To already answer the questions in the comments, "why anyone would want to do that if they could just create a class with <code>x</code> as a variable":<br>
  You are correct, but there exists some huge amount of source that would have to be rewritten, and loading a module twice would be a quick fix^^.</p>