[IPython-user] cd doesn't work on Windows
Sat Nov 15 04:18:18 CST 2008
I have never had a similar problem and I use ipython on windows xp just
as you do.
Have you done any changes to the configuration files for ipython?
at the ipython prompt can you try
>>> import glob
The result of this should contain the contents of the directory you are
in and not c:\. If this is the case then the alias for ls is somehow
broken on your machine or cd is not working properly.
If you do %alias at the ipython prompt what do you see? I get:
('ddir', 'dir /ad /on'),
('ldir', 'dir /ad /on'),
('ls', 'dir /on')]
you could also try !dir, placing ! at the start of the line executes the
rest of the line as a shell command, which should give you the contents
of your current directory and not c:\.
Elias Bröms skrev:
> Don't anyone have any idea about why this occurs? I haven't found any
> other with the same problem. Please help me with this, otherwise I'm
> unable to use IPython.
> 2008/11/14 Elias Bröms <firstname.lastname@example.org>:
>> I have installed installed ipython in Windows XP Professional (Swedish).
>> When I do
>> cd <something>
>> it looks like the command worked when I do
>> but when I do
>> the list output is ALWAYS from c:\, not the current directory.
>> python version: 2.5.2
>> installed in c:\Program\Panda3D-1.5.3\python
> IPython-user mailing list
More information about the IPython-user