# Copy render settings between scenes using Python

I simply want to take the render settings from one scene and copy them to another scene. Something like

bpy.data.scenes[1].render = bpy.data.scenes[0].render


except that this fails as bpy.types.Scene.render is read-only. Ideally I'd like the render settings linked between the scenes but I'll settle for deep-copying.

I previously found Can you link render settings across all scenes so they can all be changed at once? but it doesn't get an answer.

The only solution I can come up with is manually copying each and every attribute one at a time but this seems very cumbersome. I also found https://stackoverflow.com/questions/3818825/python-what-is-the-correct-way-to-copy-an-objects-attributes-over-to-another/3818861#3818861 which gets me some of the way but falls over for read-only attributes, i.e. the other classes within bpy.types.Scene.render.

Any help much appreciated as this appears simple to do! Thanks.

import bpy