title: reload Python module within Jupyter notebook (without autoreload)
body: <p>I have the following folder structure</p>
  
  <pre><code>project/
    src/
      __init__.py
      mymodule.py
    mynotebook.ipynb
  </code></pre>
  
  <p>within <code>mynotebook</code> I can import <code>mymodule</code> using standar formula <code>from src.mymodule import *</code>. The problem pops up when modifying <code>mymodule</code> and trying to reimport it without stopping the kernel. I am following <a href="https://stackoverflow.com/questions/1254370/reimport-a-module-in-python-while-interactive">this</a> discussion but it is not working. (python ver: 3.3.5) </p>
  
  <pre><code>from imp import reload 
  reload(src.mymodule) # also reload(mymodule)
  </code></pre>
  
  <p>the code above fails with message <code>name 'src' is not defined</code> (also <code>name 'mymodule' is not defined</code>). I can't use <code>ipython</code>'s <code>autoreload</code> because I have no permissions to install it. </p>
  
  <p>Thanks!</p>