A = [ [1, 2 , 3],
[4, 5, 6],
... ]
B = [ [a, b],
[c, d],
[e, f],
... ]
C = [ [1, 2, 3, a, b],
[1, 2, 3, c, d],
[1, 2, 3, e, f],
[4, 5, 6, a, b],
[4, 5, 6, c, d],
[4, 5, 6, e, f],
... ]
import itertools
[list(itertools.chain.from_iterable(x)) for x in (list(itertools.product(A,B)))]