Hi is there a pyhton to duplicate an parent each of single object?

High is a duplicate from NC collection,how to connect each single of the cube cell

yes- assuming you have enough data to do it. That said, I’m not sure how you would determine which object should be parented to the corresponding cube. Is Cube_cell.030 the child of Cube_cell? seems like a very naive approach to just assume everything will be lined up alphabetically. If you’re at all concerned about accuracy you could create a BVH tree for each object and then do overlap tests to determine the correct relationship, but that would be extremely slow if these are very high polygon objects.

Far easier, imo- to spend the two minutes or so required to parent everything manually.