[IPython-User] Automatically change to specific directory on start up?

Thomas Kluyver takowl@gmail....
Wed Aug 3 09:05:46 CDT 2011

On 3 August 2011 15:00, Julian Taylor <jtaylor.debian@googlemail.com> wrote:

> cd is a ipython magic, so this should work:
> c.InteractiveShellApp.exec_lines = ['get_ipython().magic("cd /path")']

exec_lines is translated before it's run, though, so IPython magics should
work. The problem might be with path characters on Windows:


-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.scipy.org/pipermail/ipython-user/attachments/20110803/c923de7f/attachment.html 

More information about the IPython-User mailing list