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.
Pythonista 1.6 Beta
-
And it's up!
-
Christmas in January
-
Any way to keep Pythonista running in the background? I find that a long running logging task (using the paho-mqtt client), dies after a while, when my iPad autolocks.
Also seem to have some reconnection issues with mqtt to my iPad running a Pythonista script that monitors log entries being sent by my thermostat over mqtt. Don't get those issues with my linux machines or on my Raspberry Pi's. Keep getting "Connection reset by peer" errors in Pythonista for some reason.
Thx!
-
I honestly would not try to use Pythonista for long background processes if you could use a desktop computer instead. I run this sort of thing on a dedicated raspberry pi in my basement
-
You might try the ideas in https://forum.omz-software.com/topic/947/keeping-the-display-on but I do not know if they will help. You could also run something free on Bluemix, Python Anywhere, etc.
-
I don't plan to run long running tasks on Pythonista. Just noticed that it died after autolock while I was running some tests using mqtt. The actual log processing will run on a dedicated Pi.
Thanks for the link ccc.....I've added the console.set_idle_timer_disabled() call and will see if that helps.
Any way to put a custom icon on your iDevice home bar or a page to automagically start a Pythonista script? Be nice to be able to write cool scripts and be able to initiate them just like a native IOS app.
Thx!
-
With the pythonista URL scheme, you can launch pythonista and run a script.
-
@JonB , I hope not talking taboo, if I am let me know and I will delete the post.
I haven't written anything yet using appex. But I have been excited by the idea that if I have a little utility app (well any app), anywhere I can use a share sheet I could run that app. Wether or not it relates to the app it's called in or not. Is there a flaw in that thinking?Edit
well I just tried it. Simple. -
Yes appex works as well. I meant that I think you could have a home screen icon which runs a pythonista script see for example:
http://omz-software.com/pythonista/shortcut/ -
@JonB , ok great.
Edit
I just noticed that is supported with devices supporting 3D Touch. I didn't really notice before as not using my iphone much