def simpleArchiveTest(ims): printAll(ims) print "1.Archive by FocalLength" print "2.Archive by DateTime" print "3.Release" print "4.Scene Archive" f = input("Enter #: ") if(f == 1): newArchive = Archive(ims,'FocalLength') newArchive.autoArchive() elif(f == 2): newArchive = Archive(ims,'DateTime') newArchive.autoArchive() elif(f == 3): newArchive = Archive(ims,'') newArchive.deArchive() elif(f == 4): newArchive = Archive(ims,'') newArchive.sceneArchive()
def goSceneArchive(self): self.output.set('Scene Archiving...') newArchive = Archive(self.ims,'',self.folder) newArchive.sceneArchive() self.output.set(str(self.folder)+'\n'+'Scene Archiving Result:\n'+str(len(newArchive.dirs))+' scenes')