src/sammie/py/eelutil.py
def removeTmpFolder(tmpFolderName:str = 'tmp'):
    """
    Removes the given tmp folder and all its contents from root path
    :param tmpFolderName: Name of folder to delete, nothing happens if it is empty
    :type tmpFolderName: str
    """
    rp = getRootPath()
    if not os.path.isdir(rp + tmpFolderName):
        return

    shutil.rmtree(rp + tmpFolderName)

    Removes the given tmp folder and all its contents from root path
    :param tmpFolderName: Name of folder to delete, nothing happens if it is empty
    :type tmpFolderName: str
    
Removes the given tmp folder and all its contents from root path
Removes the given tmp folder and all its contents from root path
def removeTmpFolder(tmpFolderName:str = 'tmp'):
    rp = getRootPath()
    if not os.path.isdir(rp + tmpFolderName):
        return
    shutil.rmtree(rp + tmpFolderName)
def removeTmpFolder ( tmpFolderName : str = 'tmp' ) : rp = getRootPath ( ) if not os . path . isdir ( rp + tmpFolderName ) : return shutil . rmtree ( rp + tmpFolderName )
Removes the given tmp folder and all its contents from root path
Removes the given tmp folder and all its contents from root path
"""
    Removes the given tmp folder and all its contents from root path
    :param tmpFolderName: Name of folder to delete, nothing happens if it is empty
    :type tmpFolderName: str
    """
tmpFolderName
str
Name of folder to delete, nothing happens if it is empty
Name of folder to delete nothing happens if it is empty