reload (update) a .py file in the interpreter
<p>I'm new to python (and to programming in general) and here I have a newbie question:</p>

<p>let's say I have this python script "script.py" and I load it in the interpreter by typing</p>

<pre><code>import script
</code></pre>

<p>and then I execute my function by typing:</p>

<pre><code>script.testFunction(testArgument)
</code></pre>

<p>OK so far so good, but when I change "script.py", if I try to import again the script doesn't update. I have to exit from the interpreter, restart the interpreter, and then import the new version of the script for it to work.</p>

<p>What should I do instead?</p>

<p>Thanks in advance.</p>
