Siri shortcuts and Pythonista

I saw that Siri shortcuts had a “run script” with Pythonista box. I was wondering if anyone has experience with that? Would it work like in Alfred where you simple get the input and you can return text?

Thank you!


If you tap on the icon in the top left of an action box it will tell you what it accepts as input and produces as output :wink:

It’s almost that simple. The only issue is that your shortcut won’t continue until you return to the app that kicked off the shortcut.

For example, I wrote some python to help with my movie review journal, and so I had to have the Pythonista script use the url scheme to return to the IMDb app to finish the rest of the workflow.

Hope that helps!

1 Like