# Python-scripts aanroepen met argumenten op de backend via plugin?

**URL:** <https://meta.discourse.org/t/calling-python-scripts-w-arguments-on-the-backend-via-plugin/165984>\
**Category:** Development\
**Created:** [2 oktober 2020 om 02:44 UTC](https://meta.discourse.org/t/calling-python-scripts-w-arguments-on-the-backend-via-plugin/165984 "2020-10-02T02:44:26Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![leighno5](https://avatars.discourse-cdn.com/v4/letter/l/e19b73/32.png) [@leighno5](https://meta.discourse.org/u/leighno5)\
**Post date:** [2 oktober 2020 om 02:44 UTC](https://meta.discourse.org/t/calling-python-scripts-w-arguments-on-the-backend-via-plugin/165984/1 "2020-10-02T02:44:26Z")

</div>

Let’s get this out of the way: I’m NOT a front-end guy _at all._ That said, I’ve written a Python script that runs on the same instance as my Discourse install, and upon execution certain methods take in arguments from the user. It works exactly as intended when run from the terminal. I need to figure out how to expose this to mods via plugin, where they can add the expected input in text fields and hit some kind of ‘execute’ button which in turn runs the script with the provided arguments. I have no idea where to begin. If someone could point me in the right direction, that’d be grand. Is it as simple as starting with the [guide on writing plugins](https://meta.discourse.org/t/beginners-guide-to-creating-discourse-plugins-part-1/30515)? I did go through this and I don’t remember that anything immediately jumped out as to being what I was looking for, but if I just need to go over it again and that’s the best place to start, please let me know! Thanks!

---

_[View the full topic](https://meta.discourse.org/t/calling-python-scripts-w-arguments-on-the-backend-via-plugin/165984)._
