How to copy the full data path of a property to the clipboard?
Place the cursor over a property and press CtrlShiftAltC to copy the full RNA data path of that property to the clipboard eg. bpy.data.objects[&quot;Cube&quot;].location[2].
The hotkey calls bpy.ops.ui.copy_data_path_button(full_path=True) operator:

Somehow related: Add menu entry to generic right-click menu?