I read this article and I want to do that on raspberry pi in python, but for now I dont know exactly how to do that , can help me with I little example in python or something that can help me to do that ?
This is more of a general question than a home assistnat one so probably not the right forum.
But I would take a good look at their code here https://github.com/snipsco/snips-skill-times-tables-quiz/blob/master/action-quizz.py. It is maybe a bit more complex than you need but should be enough to figure it out.
yes this exemple is a little to much for me now
Try just getting one action to run first of your own. take a look here https://docs.snips.ai/articles/platform/create-an-app/python-template#example-joke-app