Keybow 2040 coding help request (run "file.py" for example)

I have a Keybow 2040 and I am wanting it to run some code (say run a python file) when one of the keys is pressed.

But I do not have a clue of how to start :(

The Keybow will be attached to a Raspberry Pi 4 btw