import os _ROOT_PATH = "/bones/" _MACHINE_NAME = "JOHN_DOE" def __getTomb__(): return _MACHINE_NAME def getPath(): path = _ROOT_PATH + __getTomb__() + "/" if not os.path.exists(path): os.makedirs(path) return path