title: Python reload file
body: <p>I have a script that computes some stuff. It uses inputs from a separate file 'inputs.py'.</p>
  
  <p>In 'inputs.py' are only a few variables:</p>
  
  <pre><code>A = 2.3
  B = 4.5
  C = 3.0
  </code></pre>
  
  <p>In the main file I import them with</p>
  
  <pre><code>from inputs import *
  </code></pre>
  
  <p>If I now change something in 'inputs.py' and execute the script again it still uses the old values instead of the new ones. How can I reload the file?</p>
  
  <pre><code>reload(inputs)
  </code></pre>
  
  <p>does not work.</p>
  
  <p>Many thanks in advance!</p>