← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #258335]: Windows path variables

 

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

fordox gave more information on the question:
and, I can use the function "exists" for "os.path.exists ? 
I need to script waited until the specified file if the folder will not be created.

like this: 
...
if exists (os.path.exists(var1), 120) or (os.path.exists(var2), 120):
    popup ("Yes")
if not exists (os.path.exists(var1), 120) or (os.path.exists(var2), 120):
    popup ("No")

-- 
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.