Welcome!
This is the community forum for my apps Pythonista and Editorial.
For individual support questions, you can also send an email. If you have a very short question or just want to say hello — I'm @olemoritz on Twitter.
How long will a pythonista script run for before shutting down?
-
I'm new to both python and pythonista and I'm wondering how long a script will run before it shuts down? Will a script shut down even when actively being used or only when run in the background.
-
http://omz-forums.appspot.com/pythonista/post/5998059267817472
A script runs until the end, if pythonista is in the foreground.
It will pause when the device sleeps, but you can turn that off:console.set_idle_timer_disabled(flag) Disable or enable the idle timer (which puts the device to sleep after a certain period of inactivity).
In the background, you get 10 minutes.
-
Thanks!
-
You could also try NoDoze: http://omz-forums.appspot.com/pythonista/post/5988988296888320