# Running external python script from button event

**URL:** <https://forum.inductiveautomation.com/t/running-external-python-script-from-button-event/71028>\
**Category:** Ignition\
**Tags:** ignition81, perspective\
**Created:** [March 14, 2023, 2:32pm UTC](https://forum.inductiveautomation.com/t/running-external-python-script-from-button-event/71028 "2023-03-14T14:32:57Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![Salvatore\_Maniaci](https://avatars.discourse-cdn.com/v4/letter/s/858c86/32.png) [@Salvatore\_Maniaci](https://forum.inductiveautomation.com/u/Salvatore_Maniaci)\
**Post date:** [September 10, 2024, 2:07pm UTC](https://forum.inductiveautomation.com/t/running-external-python-script-from-button-event/71028/4 "2024-09-10T14:07:14Z")

</div>

From what I have tried on this forum, python scripts must be stored in the gateway to be ran, and in order to run those scripts, the python exe needs to be stored in the gateway as well. Because you are using python 3, you would have to install python 3 in the gateway. I still havent figured out how to do this.

---

_[View the full topic](https://forum.inductiveautomation.com/t/running-external-python-script-from-button-event/71028)._
