Using my RaspberryPi, I would like to create a kernel module that open a python program, which in turn, It will interface with GPIO.
Is possible to do it?
EDIT:
I will explain my reason: I have a circuit with some buttons, and a python program allow each button to play a sound. So, in my mind, if I open a python program through Kernel Module , I do just 1 call to user space, not as many as the buttons that plays the sounds.