# How to execute external python script from within Bubble

**URL:** <https://forum.bubble.io/t/how-to-execute-external-python-script-from-within-bubble/19806>\
**Category:** Questions\
**Created:** [October 29, 2017, 7:50pm UTC](https://forum.bubble.io/t/how-to-execute-external-python-script-from-within-bubble/19806 "2017-10-29T19:50:22Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![ccku07](https://avatars.discourse-cdn.com/v4/letter/c/b2d939/32.png) [@ccku07](https://forum.bubble.io/u/ccku07)\
**Post date:** [October 29, 2017, 7:50pm UTC](https://forum.bubble.io/t/how-to-execute-external-python-script-from-within-bubble/19806/1 "2017-10-29T19:50:22Z")

</div>

I have a python script on an external server which does some web scraping and collects some data.

I would like to ask if there is a way to run this external python script from within Bubble and then read the data collected from the script. The Bubble app must also pass some dynamic parameters to the external python script.

Is there a way to perform such task?

Thanks a lot

---

<div class="post-metadata">

**Author:** ![seth1](https://avatars.discourse-cdn.com/v4/letter/s/7c8e57/32.png) [@seth1](https://forum.bubble.io/u/seth1)\
**Post date:** [January 15, 2019, 8:38pm UTC](https://forum.bubble.io/t/how-to-execute-external-python-script-from-within-bubble/19806/2 "2019-01-15T20:38:32Z")

</div>

Any update on this? I’m interested in a similar process.

---

<div class="post-metadata">

**Author:** ![philip](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/philip/32/17830_2.png) [@philip](https://forum.bubble.io/u/philip)\
**Post date:** [January 15, 2019, 8:58pm UTC](https://forum.bubble.io/t/how-to-execute-external-python-script-from-within-bubble/19806/3 "2019-01-15T20:58:15Z")

</div>

I’ve been using [https://webtask.io](https://webtask.io) for a while now to run Node.js scripts externally. I knew they supported various compilers for other programming languages and with a bit of searching found this Python compiler [https://github.com/a-bowers/webtask-simple-python](https://github.com/a-bowers/webtask-simple-python) – Not sure it’ll be useful to you but this may be your best option at the moment.

---

<div class="post-metadata">

**Author:** ![mebeingken](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/mebeingken/32/20139_2.png) [@mebeingken](https://forum.bubble.io/u/mebeingken)\
**Post date:** [January 15, 2019, 9:05pm UTC](https://forum.bubble.io/t/how-to-execute-external-python-script-from-within-bubble/19806/4 "2019-01-15T21:05:37Z")

</div>

I use [Google Functions](https://cloud.google.com/functions/docs/concepts/python-runtime) for most new stuff but still have some python/flask apps installed on a linux cloud instance. [Lambda](https://aws.amazon.com/lambda/) is also an option if Amazon is your preference.

  

* * *

> **Looking to accelerate your app development?**
>
> Let me turn  
> 🤔 😫 😖
> 
> into  
> 😀 🕶 👩‍🎓
> 
> Development through Coaching at [https://uniqueideas.com](https://uniqueideas.com?utm_source=bubble&utm_medium=forum&utm_content=signature-unique-ideas&utm_campaign=builders) or schedule a [free intro session](https://uniqueideas.com/coaching?utm_source=bubble&utm_medium=forum&utm_content=signature-free-intro&utm_campaign=builders) 🎁
> 
> Ken Truesdale  
> [LinkedIn](https://www.linkedin.com/in/mebeingken/)

---

<div class="post-metadata">

**Author:** ![NigelG](https://avatars.discourse-cdn.com/v4/letter/n/ea5d25/32.png) [@NigelG](https://forum.bubble.io/u/NigelG)\
**Post date:** [January 31, 2019, 9:02am UTC](https://forum.bubble.io/t/how-to-execute-external-python-script-from-within-bubble/19806/5 "2019-01-31T09:02:17Z")

</div>

Another happy [webtask.io](http://webtask.io) user here. Run quite a bit of stuff externally.

Ideally Bubble would develop a way to do this, as surely is not all that hard !
