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 goRelease(self): newArchive = Archive(self.ims,'',self.folder) newArchive.deArchive() self.output.set(str(self.folder)+'\n'+'released')