[IPython-user] Change Directory in Windows

Fernando Perez fperez.net at gmail.com
Tue Nov 7 21:11:59 CST 2006


On 11/7/06, Rand Batchelder <randfb at yahoo.com> wrote:
> How can I change the current directory in Ipython under windows ?

Does 'cd' not work for you?

Testing under VMWare:

In [1]: pwd
Out[1]: 'C:\\Documents and Settings\\fperez'

In [2]: ls
 Volume in drive C has no label.
 Volume Serial Number is 5CAE-9F46

 Directory of C:\Documents and Settings\fperez

10/15/2006  12:07 PM    <DIR>          .
10/15/2006  12:07 PM    <DIR>          ..
05/13/2006  12:32 PM               191 .emacs.files
06/15/2006  07:14 PM               756 .recent-files.el
05/13/2006  11:07 AM    <DIR>          .xemacs
10/15/2006  12:22 PM    <DIR>          Desktop
11/01/2006  06:10 PM    <DIR>          Favorites
09/04/2006  01:02 PM    <DIR>          My Documents
06/11/2006  10:18 PM    <DIR>          Start Menu
10/15/2006  12:07 PM    <DIR>          WINDOWS
               2 File(s)            947 bytes
               8 Dir(s)   7,380,774,912 bytes free

In [3]: cd Desktop/
C:\Documents and Settings\fperez\Desktop


Cheers

f


More information about the IPython-user mailing list