Is there some reason %edit works in iPython and not Jupyter qtconsole?
108 views
Skip to first unread message
mka...@sas.upenn.edu
unread,
Feb 15, 2016, 11:01:08 AM2/15/16
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Project Jupyter
Trying to use %edit magic but it doesn't seem to work in qtconsole. It opens editor, but doesn't execute on return. I get no error messages to help in diagnosis. python3.5 and python2.7. Jupyter 4.1.0.
Thomas Kluyver
unread,
Feb 15, 2016, 11:51:23 AM2/15/16
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
Trying to use %edit magic but it doesn't seem to work in qtconsole. It opens editor, but doesn't execute on return. I get no error messages to help in diagnosis. python3.5 and python2.7. Jupyter 4.1.0.
%edit does not try to execute the code when you close it when you invoke it from an IPython kernel running in Jupyter. Beyond the terminal, we don't have a reliable way to wait for an editor to be closed, so in that context, %edit just means 'open this file in an editor'. You'll need to %run it as a separate command.