Delete directories.

        If the directory is exist, It will delete it including files.

        :type paths: Array of string or string
        :param paths: the location of directory

def delete_directories(paths):
    """
        Delete directories.

        If the directory is exist, It will delete it including files.

        :type paths: Array of string or string
        :param paths: the location of directory
    """
    for path in paths:
        if os.path.exists(path):
            shutil.rmtree(path)