示例#1
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()
示例#2
0
文件: SimpleGUI.py 项目: chaoxia1/EIA
 def goRelease(self):
     newArchive = Archive(self.ims,'',self.folder)
     newArchive.deArchive()
     self.output.set(str(self.folder)+'\n'+'released')