It definitely doesn't solve all cases, but quite a lot of nested loops can be eliminated with `itertools.chain`:
for item in itertools.chain.from_iterable(list_of_lists):
# Do something with item