Creating linked animation sequence in python

Thank you so much for this thread and saving me after much frustration. This helped me finally get my setup working for baking unlinked sequences as well. More than a couple other threads out there looking for answers on how to use export_anim_sequence, and your solution is only successful one I have found!