How to use a Python script to split an AnimSequence into multiple parts?

I have some character models in FBX format, and after importing them into UE, I found that all the animations are merged into a single animation sequence. I want to split them up. How can I write a Python script to do this?