You need to have 2 component creators that are creating different components and a component container where to put these components. This container may also be a Path behaviour. Be sure that component creators don't create components automatically, so set creator's limit property to 0.
To connect a Component Creator to a container and to create components using Python use the following code:
comp= getComponent()
Creator1= comp.findBehaviour("PartCreator1")
Creator2= comp.findBehaviour("PartCreator2")
Container= comp.findBehaviour("ComponentContainer")
Container.Connectors[0].connect(Creator1.Connectors[0])
Creator1.create()
Container.Connectors[0].connect(Creator2.Connectors[0])
Creator2.create()