← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #206943]: How to simple count items returned by FindAll

 

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

    Status: Open => Answered

RaiMan proposed the following answer:
again some suggestion, that I did not test before, sorry :-(

the result of findAll() has to be turned into a list first.

len( list( findAll() ) )

but if you want the results too:
fa = list( findAll() )
len(fa)

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