Python help

I am looking for some help writing scripts to move and rotate jewelry objects to sit and lie flat on the cplane and save a copy. These files will include parallel and not parallel objects. I need the script to open and run through multiple files in a folder, move the model, and save the files with a suffix to the original file name.
Image 1 is the original
Move Image 1 placement to Image 2 placement and save with -01 suffix
Move Image 1 placement to image 3 placement and save as -02 suffix
The jewelry models will all have different size settings but must sit flat on the cplane.

Please let me know if anyone can help

Regards Luke