perm_list_gen = (p for l in range(1, len(a_list) + 1) for p in permutations
    (a_list, l))
print(perm_list_gen)
Generate all permutations of a list and permutations of the possible lists within that list?