Getting the Directory/Path details

Kali K E kalike2003 at
Thu Sep 25 19:06:40 CEST 2003

I could not understand how I can do the following things in Python.
Please help me.

1. First I have to find the current directory from where the script is
2. Next I have to form a directory structure there. If the current
directory in step 1 is /home/mylogin, then from there I have to build
a directory structure like

There are three things as I look at it. First determing the current
directory path. Second adding a string to it like /result etc. Third
creating the new directory.
Thank you for the help.


More information about the Python-list mailing list