def cleanSystem(cls):
        """
        Removes all downloaded, localized resources
        """
        resourceRootDirPath = os.environ[cls.rootDirPathEnvName]
        os.environ.pop(cls.rootDirPathEnvName)
        shutil.rmtree(resourceRootDirPath)
        for k, v in list(os.environ.items()):
            if k.startswith(cls.resourceEnvNamePrefix):
                os.environ.pop(k)
def cleanSystem ( cls ) : resourceRootDirPath = os . environ [ cls . rootDirPathEnvName ] os . environ . pop ( cls . rootDirPathEnvName ) shutil . rmtree ( resourceRootDirPath ) for k , v in list ( os . environ . items ( ) ) : if k . startswith ( cls . resourceEnvNamePrefix ) : os . environ . pop ( k )
Removes all downloaded, localized resources