Gfxhat LCD and Raspberry

I am a Newby and i need help :).

I would like to use the Buttons of the GFXHAT, to launch Python scripts.

How to launch a script stored on my Pi?

I was thinking it was like the tutorial about push Button,
work with the good pinout,
but when i have seen the Diagramm,
i dudn’t understand on which pinout i should work.
(which pinout use thé button of the LCD?)

And if it’s with i/o system.

Can somebody help me please?
Thank by advance.

Those buttons are capacitive touch which work via i2c and the CAP1166 chip.

Have a look at the Library for the GFX HAT Cap1166 touch controller. Here,