tomb.py 252 Bytes
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