os.chdir

Maryam Saeedi saeed008 at umn.edu
Fri Mar 7 23:25:51 CET 2008


I have a problem using os.chdir on linux. What should I do if I want to
change to root directory? The below does not work:

os.chdir("~/dir1")

Thanks
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20080307/214d6877/attachment.html>


More information about the Python-list mailing list