7" touch screen + push button in osmc and run a python script

two questions.

  1. Can you make a custom button in osmc or something like a program add on ?
  2. How can I go about getting it so when I click a button it executes a python script in the background ?