I would like to make a widget that on click, will start a .py file.
Is it possible, and how?
Why do you need a widget?
Is it the only thing that you want to run the script, given the other options to run scripts?
And if it could, what does the script do?
What if there were widget options that did what you wanted but didn't run a python script?
So many questions
In principle a GPservice can be a python script and there is a widget to run GPservices.
As Dan said there are many questions here about what you try to do...
Retrieving data ...