On 13/10/10 15:26, Bishwarup Banerjee wrote:
I want to get the absolute path of the Directory I pass explicitly. Like
functionName("\abcd").

On 13/10/2010 05:44, Kingsley Turner wrote:
One way to achieve this is to fetch a recursive directory list for all
drives, and then search for your directory_name.endswith("abcd") in each
list. But what would you do with multiple occurrences ?

[... snip useful code ...]

I don't know how to enumerate all your windows device letters.

http://timgolden.me.uk/python/win32_how_do_i/find-drive-types.html

TJG
--
http://mail.python.org/mailman/listinfo/python-list

Reply via email to