def getDataDirectory(moduleName=None):
    if not moduleName:
        caller = currentframe(1)
        moduleName = inspect.getmodule(caller).__name__

    return appdirs.user_data_dir(moduleName)
Get a data directory for the caller function, or C{moduleName} if given.
dataset/ETHPy150Open twisted/twisted/twisted/python/_appdirs.py/getDataDirectory