Application data directory support.

Function getDataDirectory Get a data directory for the caller function, or moduleName if given.
def getDataDirectory(moduleName=None): (source)

Get a data directory for the caller function, or moduleName if given.

ParametersmoduleNameThe module name if you don't wish to have the caller's module. (type: str)
ReturnsA directory for putting data in. (type: str)
API Documentation for Twisted, generated by pydoctor at 2018-07-14 04:53:34.