I must remove all drivers from all shapekeys on the selected mesh in Blender 2.79. I have tested this script for 2.8 from this answer: https://blender.stackexchange.com/q/193803/32655
import bpy
fcurves = bpy.data.shape_keys["Key"].animation_data.drivers
for fc in fcurves:
fcurves.remove(fcurves[0])
But I get an error AttributeError: 'bpy_prop_collection' object has no attribute 'remove'
It works fine in 2.8 but is it possible to accomplish with python in Blender 2.79?