Blender 2.9 scripting, how to get the name of the driven property I'm trying to get the name of the property that's been affected by a driver for a certain object, what I did so far: 
for d in bpy.context.object.animation_data.drivers:
    print(d.driver.id_data.name)

However, that's returning the name of the object, not the driven property. My question is, let's say there's a drive controlling the Z Scale, how do I get that information &quot;Z Scale&quot; or a similar equivalent, in scripting?
Use f_curve.data_pathand f_curve.array_index to get the property index in case of vectorized properties (like location, scale, etc.)
import bpy

if bpy.context.active_object and bpy.context.active_object.animation_data:
    for d in bpy.context.active_object.animation_data.drivers:
        print(bpy.context.active_object)
        print(f&quot;Driven property : {d.data_path}&quot;)
        print(f&quot;Property index : {d.array_index}&quot;)

Example :