What is the recommended way to run a python script from my flutter flow app?

I have an external python file that I want to run based off an action in my app. I'm wondering what the best way to go about this is. Is it possible make the python script a firebase function? Should I rewrite it in dart and use FF's built in custom code functionality (not preferable)? Are there any workarounds or other built in tools that I'm not aware of? Thank you for any guidance in advance!

4
7 replies