def addToCsv(scanPath, csvPath): # compile csv file scanner.processDirectory(scanPath, csvPath)
def constructNewCsv(scanPath, csvPath): # clean out oldCsv scanner.clear(csvPath) # compile csv file scanner.processDirectory(scanPath, csvPath)