0
What do you mean the method is too long? Too much code, or it's too slow? If the former, you should be able to iterate through pretty easily. I would use nested for loops like
for row in listOfValues:
for cell in row:
if cell == '#': paintFunction()
If it's too slow, I'm not sure how to help, but more info for what you're trying might help.



