示例#1
0
def createMD5SUM():
    x = md5sum.grab_files('.')
    lista = []
    for i in x:
        y = md5sum.md5(i[1])
    lista.append((i[0],y))
    md5sum.createFile(lista)
 def createMD5SUM(self):
     """
     Create md5sum.txt from file path
     """   
     x = md5sum.grab_files(FILE_PATH)
     lista = []
     for i in x:
         y = md5sum.md5(i)
         lista.append((i,y))
     md5sum.createFile(lista)