Help needed - To get path of a directory

Bishwarup Banerjee bishwarup.banerjee at gmail.com
Wed Oct 13 00:26:05 EDT 2010


Dear All,

I want to get the absolute path of the Directory I pass explicitly. Like

functionName("\abcd").
I should pass the name of the directory and the function should search for
it in the Hard drives and return me the full path of location on the drive.
I tried using os.path, but didn't succeed.

I am using python 2.5 on windows platform.
It will be very kind of you if you can guide me on this.

With Warm Regards,
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20101013/b3a3b5d2/attachment.html>


More information about the Python-list mailing list