def getLibraryFolders():

    # Platformio Libraries
    pio_lib_path = getPioLibrary()
    pio_lib_path = os.path.join(pio_lib_path, '*')

    library_folders = [pio_lib_path]

    # Core Paths
    pio_packages = getPioPackages()
    pio_packages = os.path.join(pio_packages, '*')
    sub_dirs = glob.glob(pio_packages)
    for path in sub_dirs:
        sub_paths = glob.glob(path)
        for sub_path in sub_paths:
            sub_path = os.path.join(sub_path, '*')
            sub_path = glob.glob(sub_path)
            for core_lib in sub_path:
                if core_lib in 'libraries':
                    lib = os.path.join(core_lib, '*')
                    library_folders.append(lib)

    return library_folders
dataset/ETHPy150Open gepd/Deviot/libs/Paths.py/getLibraryFolders/swapped operands of `in`