omz:forum

    • Register
    • Login
    • Search
    • Recent
    • Popular

    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

    Pythonista
    55
    301
    445129
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • Webmaster4o
      Webmaster4o last edited by

      And it's up!

      1 Reply Last reply Reply Quote 0
      • donnieh
        donnieh last edited by

        Christmas in January

        1 Reply Last reply Reply Quote 0
        • chaeron
          chaeron last edited by

          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!

          1 Reply Last reply Reply Quote 0
          • Webmaster4o
            Webmaster4o last edited by

            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

            1 Reply Last reply Reply Quote 0
            • ccc
              ccc last edited by

              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.

              1 Reply Last reply Reply Quote 0
              • chaeron
                chaeron last edited by

                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!

                1 Reply Last reply Reply Quote 0
                • JonB
                  JonB last edited by

                  With the pythonista URL scheme, you can launch pythonista and run a script.

                  Phuket2 1 Reply Last reply Reply Quote 1
                  • Phuket2
                    Phuket2 @JonB last edited by Phuket2

                    @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.

                    1 Reply Last reply Reply Quote 1
                    • JonB
                      JonB last edited by

                      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/

                      Phuket2 1 Reply Last reply Reply Quote 1
                      • Phuket2
                        Phuket2 @JonB last edited by Phuket2

                        @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

                        1 Reply Last reply Reply Quote 0
                        • First post
                          Last post
                        Powered by NodeBB Forums | Contributors