I'm running ipython qtconsole
. I want to execute a file that I edit separately inside an editor. When I make changes to the file in the editor and re-run it in IPython using:
%run myfile.py
the code isn't updated. However, if I run ipython
normally from the terminal then this works fine. I tried to use autoreload
in the QT console:
%load_ext autoreload
%autoreload
but it doesn't fix the problem. What is wrong here?