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

Thomas Kluyver takowl@gmail....
Wed Aug 3 10:38:07 CDT 2011

On 3 August 2011 16:24, reckoner <reckoner@gmail.com> wrote:

> Thanks. It works! For Windows users, you can use the win32api module to
> compress the pathname, especially useful if it has spaces in it:
>  import win32api
>>>> win32api.GetShortPathName ('C:\Documents and Settings')
>>> 'C:\\DOCUME~1'

Is the short name needed to change directory? I wonder if this could be
automated as part of the %cd magic.

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

More information about the IPython-User mailing list