[IPython-User] Adding directory to sys.path at startup in qtconsole.
Thu Aug 11 01:01:43 CDT 2011
Thanks very much for the suggestions.
Adding the two lines to ipython_config.py made the change show up in
qtconsole as well.
On Wed, Aug 10, 2011 at 11:09 PM, MinRK <firstname.lastname@example.org> wrote:
> 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 <email@example.com> wrote:
>> On 10 August 2011 16:34, Prasanth <firstname.lastname@example.org> 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
>> IPython-User mailing list
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the IPython-User