Create Python Shortcuts on iOS

Pythonista is one of the best iOS apps for coding and running Python scripts. The latest version, updated for Python 3.10, no longer supports creating a ‘Home Screen’ icon for running your scripts. This can be overcome with Apple’s ‘Shortcuts’ app, but it took me a while to work out how to do it…
While iOS doesn’t natively support creating shortcuts for third-party apps, you can use the Shortcuts app to create custom shortcuts that interact with Pythonista. Here’s a guide on how to create a shortcut to run a Python script in Pythonista:



