Python Evaluator AppleScript

A few weeks ago, I talked about a Bash function and alias combo that lets you evaluate simple Python expressions from the Bash command-line.

In a similar vein, here’s a super simple GUI app, written in AppleScript that evaluates Python expressions.

You can launch AppleScript Editor, paste in the above code, and save it as an application (e.g.: “/Applications/Python” or the like). Is it going to replace ipython or even the default Python shell? Um, probably not. But it was a fun way to get a bit of experience with AppleScript.

Leave a Reply

Your email address will not be published.