KiCad does not have chained shortcuts like altium does (there’s a feature request open for it though).
Having said that, you can assign a traditional keyboard shortcut to pretty much any action in KiCad - most do not have default hot keys assigned due to the number of available actions (chained hot keys would help here).
You can see the list of available actions and edit the hotkeys assigned to them in preferences.
I’m not sure how python would help here. The hotkey system isn’t scriptable but you can assign whatever hotkeys you want by hand.