anjanesh Hello,
You will want to enable the App Exec switch for the PHP app in the dashboard (if this is a private PHP instance, the steps may differ depending on how you set it up). Make sure the script is executable via shell (eg chmod +x my_script.py
). Then create your PHP script that loads the python script via exec, passthru, shell_exec, or system. Then link that PHP script to your button so it gets triggered. Please note that there are security precautions you should take when using those features.