tomb.py 252 Bytes Edit Raw Blame History 1 2 3 4 5 6 7 8 9 10 11 12 13 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