Пример #1
0
 def goArchive(self):
     text = str(self.folder)+'\n'
     newArchive = Archive(self.ims,self.archive.get(),self.folder)
     newArchive.autoArchive()
     for i in range(0,len(newArchive.dirs)):
         text+=' -'+str(newArchive.dirs[i])+'\n'
     self.output.set(text)
Пример #2
0
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()