← Back to team overview

sikuli-driver team mailing list archive

[Question #668839]: endless loop

 

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

before executing function a , there is a picture named b  ,  but when it is executed , the picture b  disappeared , causing an endless loop (actually ,  until today , function a  has been operating well )


function a :

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

could you please  help on this ? thanks a lot 

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