I’ve been getting my APC80, APC40 and APC20 performance templates
ready for Live 9, and that required decompiling the latest APC40 and APC20 MIDI Remote Scripts for Ableton. The scripts have been updated by Ableton, so unfortunately there will not be cross-compatibility between Live 8 and 9 for MIDI Remote Scripts.
So I had to decompile the new scripts, but as far as I could tell no one has done that yet.
Once I did manage to decompile them (using uncompyle2), the decompiler produced some errors in the scripts which had to be fixed.
I fixed said errors, and present to you the Ableton Live 9 APC40 and APC20 decompiled Python MIDI Remote Scripts
Hope you find it useful!