예제 #1
0
 def touchDown():
     self.pictureList = []  #Start with an empty list.
     self.pic = self.Banana.takePicture()
     for i in range(4):
         self.pictureList = self.pictureList + [self.pic
                                                ]  #Append the new picture
         self.Banana.turnBy(90)
     m.savePicture(self.pictureList,
                   r"C:\Users\allis\Desktop\StarFleet Pics"
                   )  #change filename as needed
     self.Banana.stop()