1 2 3 4 5 6 7 8 9 10 11 12
import os __ROOT_PATH__ = "/bones/" def __getTomb__(): return "test" def getPath(): path = __ROOT_PATH__ + __getTomb__() + "/" if not os.path.exists(path): os.makedirs(path) return path