[Product Launch] We're adding Python support to Retool Workflows!

Hey folks––you’ve asked about when we’re bringing support for additional languages into Retool. Today, we’re excited to officially introduce Python to the Retool platform––starting with automation in Retool Workflows.

Retool Python

Select either JavaScript or Python as your language when running code blocks in Workflows. Just drag a block out onto the canvas, select “Code”, and then select the Python tab to start writing. Auto-completion, context, and linting are all included out of the box. We’ve also preinstalled 20 libraries and packages—like numpy, pandas, scipy, and plotting libraries like seaborn—so that you don't lose access to the powerful packages you’re used to writing with in your IDE or notebook.

Here’s something we’re really excited about: you can use Python via Workflows to run complex data processing, analysis, or visualization server-side and feed the inputs back into your Retool apps with the new webhook Response block.

And this is just the beginning! We’d love to know what you’re building and how the code editing experience feels, so please don’t hesitate to share your feedback.

Check out our launch Twitter thread and blog post to see more examples in action (and please help share the announcement!):

6 Likes

quick q. is it possible to call a function in python as well? i cannot get this working.

thanks!

Hey Lukas! Calling functions from Python blocks isn't supported today, but that (and the interoperability of Python in other block types) is in the works.

1 Like

Hello, the blog post mentions the feature will be available to on-prem deployment in 2.113 version, the version is out but I can't figure out how to enable it. Was it included in the first released version (2.113.3)? Or will it be added in a different version?

Hi @mskrip Thanks for checking in!

It's not quite ready for on-prem :confused: Apologies! We're working on updating the blog post. I'm also letting our team know that you're interested in using this feature on-prem. I'll reach back out with any updates!