I'm totally new at this. So the calculator example that comes with Pythonista...does that mean I can run it from anywhere on my iPad? How do I make it start up? I can make it run in Pythonista, of course, but what if I want to actually start using it since the iPad does not come with a calculator? Or am I completely misunderstanding what I can do with Pythonista? I don't understand how one takes a script and makes it run on the iPad without starting Pythonista first.
Forum Archive
Make Calculator Run from Anywhere on iPad...how?
You'd have to use the Xcode template to compile it into an iOS app, and then side load that onto your device. It's a complicated process that you probably don't want to get into, but I can help you with that if you want
Ok. So when people write these scripts then Pythonista has to be up and running first and then we just pick from our list of scripts in the file manager, yes
?
@photodada22 Yep. You can also add them to the home screen with the shortcut in the wrench menu, but that will just be a shortcut that opens Pythonista.
Ok. Thanks for the explanation.
You can also run scripts from the Share Menu of any app with a share menu such as safari.
Or, if you have some "launch" app, like for instance launcher, you can launch Pythonista from the today/notifications center (where launcher is a widget), asking Pythonista to directly run a particular script.
I define all my scripts in this way, so, they have their own icon and they all do this:
- launch Pythonista
- create an empty panel as background to hide the Pythonista script
- process
- terminate by "crashing" to go back to the home screen
If they run in the share sheet, they don't end by crash but by closing the appex mode.