[IPython-User] Adding directory to sys.path at startup in qtconsole.

MinRK benjaminrk@gmail....
Wed Aug 10 12:39:23 CDT 2011

In general, when you aren't configuring IPython you can just execute
commands.  Just add the lines:

import sys

to ipython_config.py, and you should be set.

No need to use exec_lines unless you need to affect the initialized
InteractiveShell or the user namespace.


On Wed, Aug 10, 2011 at 08:45, Thomas Kluyver <takowl@gmail.com> wrote:

> On 10 August 2011 16:34, Prasanth <oneaufs@gmail.com> wrote:
>> Am I using the wrong app? How do I get this to work?
> If you use c.IPKernelApp, you should be able to set it. If you want the
> same thing in both environments, use c.InteractiveShellApp in
> ipython_config.py. Both TerminalIPythonApp and IPKernelApp inherit from
> InteractiveShellApp.
> Thomas
> _______________________________________________
> IPython-User mailing list
> IPython-User@scipy.org
> http://mail.scipy.org/mailman/listinfo/ipython-user
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.scipy.org/pipermail/ipython-user/attachments/20110810/b9c3e4d0/attachment.html 

More information about the IPython-User mailing list