in qtconsole, %edit -p does not open last edited contents #2341

joonro opened this Issue Aug 26, 2012 · 0 comments


None yet
2 participants

joonro commented Aug 26, 2012

Maybe I misunderstood the documentation, but my understanding is when I do

IPython will make a temporary file named: /tmp/

Then I input


and save & close the file, and in the qtconsole

%ed -p
IPython will make a temporary file named: /tmp/

print(1) should be in the editor. But the editor is empty.

It works in the terminal ipython, so I guess the difference is from that in the qtconsole %ed does not automatically run the edited contents.

But it would be great to have %ed -p to open up the last edited contents in qtconsole as well - it is a pain to look for the temporary file name later.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment