Example:
ob = bpy.context.active_object
ob.modifiers[‘UVProject’].projectors = “Camera”
Traceback (most recent call last):
File “<blender_console>”, line 1, in <module>
AttributeError: bpy_struct: attribute “projectors” from “UVProjectModifier” is read-only
Yeah, you can’t do that directly. Basically if you can right-click on the parameter in the GUI and it has an Insert Keyframe in it’s menu you can write to the value with a script. But if not, that value is read-only and can not be changed with scripting.