module documentation
(source)

Application data directory support.
Function get​Data​Directory Get a data directory for the caller function, or moduleName if given.
def getDataDirectory(moduleName=''): (source)
Get a data directory for the caller function, or moduleName if given.
Parameters
module​Name:strThe module name if you don't wish to have the caller's module.
Returns
strA directory for putting data in.