← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #668839]: endless loop

 

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

    Status: Needs information => Open

Ju1+i-我. gave more information on the question:
thanks .

before executing function a , there is a picture named b in path c  ,
but when it is executed , the picture b disappeared from path c  , so it
caused  an endless loop

function a :

while True:
    if not exists(b):
        wait(2)
    else:
        break

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