Created
May 6, 2011 19:42
-
-
Save certik/959636 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This code: | |
from IPython.core.ipapi import get as get_ipython | |
ip = get_ipython() | |
ip.config.InteractiveShell.confirm_exitip.config.InteractiveShell.confirm_exit = False | |
IPython.frontend.terminal.embed.InteractiveShellEmbed(user_ns=namespace, banner1=banner).mainloop() | |
produces: | |
Traceback (most recent call last): | |
File "/home/certik1/repos/qsnake/spkg/base/qsnake_run.py", line 768, in <module> | |
main() | |
File "/home/certik1/repos/qsnake/spkg/base/qsnake_run.py", line 226, in main | |
start_qsnake() | |
File "/home/certik1/repos/qsnake/spkg/base/qsnake_run.py", line 370, in start_qsnake | |
ip.config.InteractiveShell.confirm_exitip.config.InteractiveShell.confirm_exit = False | |
File "/home/certik1/repos/qsnake/local/lib/python2.6/site-packages/IPython/config/loader.py", line 160, in __getattr__ | |
raise AttributeError(e) | |
AttributeError: 'confirm_exitip' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment