Advertisement

11.06.2008 at 07:46PM PST, ID: 23884175 | Points: 500
[x]
Attachment Details

writing a function to find out which of the directories exists  -  python

Asked by samk4 in Python Scripting Language

Hi , I have a question ..
I would like to write/modify the my program ... i.e
writing a function to find out which of the directories exists .....
for example : on my computer c:\\sam and in another mechine c:\\xyz ...
only one dir should on my computer or another computer.

1. check for the each of the directories
2.if they do fine , and if they dont create and retest for them.



please let me know how to do this ..
thanks in adv

regards
sam Start Free Trial
[+][-]11.06.2008 at 11:30PM PST, ID: 22902398

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
 
Loading Advertisement...
20080716-EE-VQP-32 - Hierarchy / EE_QW_3_20080625