##// END OF EJS Templates
Cleaning up the IPython docs. I have removed old README files that were outdated and being maintained...
Cleaning up the IPython docs. I have removed old README files that were outdated and being maintained in the top-level dir. I have removed all mentions of the old lyx based docs. Created subdirectories for man and emacs stuff. Having fun.

File last commit:

r856:50044c43
r1250:f658828f
Show More
test_cd.ipy
18 lines | 289 B | text/plain | TextLexer
# assumes there is /tmp and /opt
def curpath():
cwd = os.path.splitdrive(os.getcwd())[1].replace('\\','/')
print cwd
return cwd
import os
cd /
assert curpath() == '/'
%cd /tmp
assert curpath() == '/tmp'
pushd /opt
assert curpath() == '/opt'
popd
assert curpath() == '/tmp'