#from libufps import ufps #import libufps #from inspect import getmembers, isfunction #import os def createIndex(ufps, indexFile): print("Creating index") index = ufps.createIndex("") # For ufpsutil we just index from the selected base directory file = open(indexFile, "w") file.write(index) file.close() print("Index has been written to " + indexFile)