‘instancemethod’ object has no attribute ‘__getitem__’ with class variables
You didn’t post the full traceback, but I can take a guess: You set seq equal to the method stepper.clockwise on the first line. Then a few lines later you try to index into it: seq[self.StepCounter]. But what does it mean to get the self.StepCounter-th element of a method? Nothing, because: You shouldn’t use clockwise … Read more