Pick up using robot

Any ideas about how to use python API to program a robot to pick and place boxes from two different conveyors on two different pallets, at the same time

Thanks in advance.