sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #44245
[Question #660097]: Multi Dimensal Array
New question #660097 on Sikuli:
https://answers.launchpad.net/sikuli/+question/660097
Can U give me a simple example of how to create and use a multi dimensional array
for example
create an array to store 3 sets of values - append values - print values
my test
threeD = []
threeD.append((1, 2, 3))
threeD.append((4, 5, 6))
print len(threeD)
print len(threeD[0])
print threeD[0]
and here is where I fail
print threeD[0,0,0]
print threeD[0] [0] [0]
maybe I am appending them wrong or maybe its the print
have tried lots of permutation
Regards
--
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.