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.
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!):