I have an app that runs in a while true loop. I want to exit the app correctly. How can I do this?
On a typical console app I'd use a "try ... except keyboardinterrupt" construct but this doesn't work in my app.
Any suggestions?
Regards
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.
I have an app that runs in a while true loop. I want to exit the app correctly. How can I do this?
On a typical console app I'd use a "try ... except keyboardinterrupt" construct but this doesn't work in my app.
Any suggestions?
Regards
There's also a webdav server written in Python that you can execute in pythonista. Search for "pythonista webdav" in github.
I want to create some kind of GPS logger which runs as long as I want. By this reason the behavior described in this thread is not desired. Is there any way how I can create a script that runs "forever"?
Regards!
Is there any convenient way to import/move/copy a script written on a 'proper' computer into Pythonista?
I do not see a different option than mailing me a script and copy/paste this into Pythonista as a text. Well, that would be ridiculous...
Hello everybody,
I'm wondering if there is an option how I can trigger speech recognition via Python. The other way round (text to speech) seems to be pretty simple...
BR!
Thanks for your replies so far.
An other option would be to record sound and send the file to a server and let this server do the s2t conversion. When I remember correctly, there are some Linux tools available.... But let me guess: we don't have access to the microphone as well, ... :)
@0942v8653: The WebDAV script is great. Problem fully solved!
Thanks a lot for your suggestions. I'll investigate all three!
However, I would like to state that I expect that proper im- and export is a part of a professional and commercial software product.