← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #668789]: Assign every Match from findAll to a separate variable

 

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

    Status: Open => Answered

masuo proposed the following answer:
mlist  = []
for matches in result:
    mxy = []
    mxy.append(matches.getX())
    mxy.append(matches.getY())
    mlist.append(mxy)

#---example when you want to use mlist---
print mlist[0][0],mlist[0][1]

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