← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #256700]: Single member array versus two member array

 

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

Description changed to:
Hi,
I have came over interesting problém

myA = ("one.png", "two.png")
print (len(myA))

outputs correctly 2

myA = ("one.png")
print (len(myA))

outputs 7!!!!

I wanted to have still array but with single member only.
Weird. Apparently it prints out length of a string not length of an array.

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