ipython not reloading modules
<p>I'm running IPython in an emacs shell using:</p>

<pre><code>;; Set IPython interpreter in my init.el
(defvar python-shell-interpreter "ipython")
(defvar python-shell-interpreter-args "-i")
</code></pre>

<p>Then:</p>

<ol>
<li>Start IPython with <code>M-x run-python</code></li>
<li>Run a program within IPython with <code>%run myprog.py</code>. myprog.py imports a module called <code>mymodule</code>.</li>
</ol>

<p>I make changes to <code>mymodule</code> but when I run <code>%run myprog.py</code> again, it runs the original <code>mymodule</code>, not the changed code.</p>

<p>FWIW, I'm using emacs 24.5 prelude, on Windows 10 with Anaconda and Python 3.5.</p>