Python scripting in Retool

I want to run a python script that takes in some files, evaluates data and outputs some new files.
I would like to create a retool form that allows a user to pick an input folder, pick files, and then run that script to produce an output to be dumped in a folder . Has any body done something similar?

Hi, you could use workflow of Retool, in workflow you can run Python

Thanks, I need it in a retool form, therefore it has to be an app. I would not mind it in JS

You can send the data of the form app into a retool workflow, which allows you to run python scripts and interact with the data that is sent into the workflow.

1 Like

Thanks, @AnsonHwang and @Swift! In case it helps, here's some info on passing app data to Workflows: https://docs.retool.com/workflows/guides/triggers/webhooks & https://docs.retool.com/workflows/guides/blocks/response

1 Like