Question #184407 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/184407

Bharathi A posted a new comment:
In my case - I need to find the path of firefox first.

For eg: In one PC - firefox.exe is located under program files and in
another pc firefox.exe is located under appdata folder.

I tried something like this but found to be not working:

import os
for r,d,f in os.walk("c:\\"):
    for files in f:
         if files == "firefox.exe":
             print os.path.join(r,files)                          
         else:
             print ("Not found")
             exit(1)

-- 
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.

_______________________________________________
Mailing list: https://launchpad.net/~sikuli-driver
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp

Reply via email to