sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #17237
[Question #225600]: match a list with another no matter of the order
New question #225600 on Sikuli:
https://answers.launchpad.net/sikuli/+question/225600
Hello,
I would like to compare 2 lists with 2 images inside but with no order.
Exemple of my code:
Image1 =()
Image2=()
List1 = (Image1,Image 2) or (Image2,Image1)
List2 = (Image2,Image1)
if List1 == List2:
print("Lists are equals")
else:
print("No match")
With this code, it doesn't work, could you please help me?
Thanks
--
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.