← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #265505]: Is there a way to convert the clipboard content into list in sikuli?

 

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

    Status: Answered => Open

eduardobedoya is still having a problem:
Hi RaiMan
I fixed my script this way, but Im having the same result [0, 1, 2, 3, 4, ... 51, 52, 53, 54]

aAsList = eval(a)
b = ["plane", "jet"]
c = [i for i, v in enumerate(a) if v not in b]
print(c)

The result should be [0, 2, 3, 5]

am I doing something wrong???
Thanks Advanced.

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