[IPython-user] PYTHONSTARTUP and ipython
skip@pobo...
skip@pobo...
Fri Sep 14 15:20:17 CDT 2007
I have a fairly elaborate PYTHONSTARTUP file. I'd like its definitions to
be available to me when I run ipython. A colleague at work suggested I add
import IPython
IPython.Shell.IPShell().mainloop(sys_exit=1)
to my PYTHONSTARTUP. I tried adding it at the end. Alas, my other
definitions don't survive the leap from python to ipython. Suggestions?
--
Skip Montanaro - skip@pobox.com - http://www.webfast.com/~skip/
More information about the IPython-user
mailing list