Execute a python script from package


We are trying to develop a package which would call a python script on click of button. We tried using bufferedproccess but could not execute the .py script. Please let me know how can we achieve this.


It would be helpful to know what you have tried so far, so please provide an minimal, complete, and verifiable example.