• wentaas

    I see. Thank you for your help. I have done it with MacroDroid, but since I need a Google Play or App Store app, or at least an APK or PIA file ready to be uploaded to the store, I think I’ll have to use Android.

    One last question, is it possible to automatically run a shortcut at a given time? I guess no, it can’t unlock your phone.
    I’d be surprised if they didn’t let an app toggle DND but let it open an app, let alone unlocking the phone.

    Anyway, thank you for your help again. Have a nice day.

    posted in Pythonista read more
  • wentaas

    Also, thank you for both of your replies.

    posted in Pythonista read more
  • wentaas

    @JonB
    That is so sad, should I switch to Android, would Android be easier, and would the fact that my Android phone is really bad matter?
    If so, do I have to use Android Jetpack or Android Studio, or can I use Shortcut-like apps for Android?

    posted in Pythonista read more
  • wentaas

    @mikael
    I will add the ability of setting more than one time period.

    posted in Pythonista read more
  • wentaas

    First of all, thank you for your reply, and I apologise for my late answer.

    I'm not sure what you mean by notifications, but I want my program to turn Do Not Disturb on at the given time and turn it off at another given time.

    It is possible with XCode, or that would be the most indelicate that I'd have to do it for Android since my Android phone is far from ideal to test.

    Speaking of which, would it be easier than XCode were I to do it on Android?

    posted in Pythonista read more
  • wentaas

    Hello everyone.
    I have a project that should run at a given time.
    Ideally, this would be done with events, but I haven't seen such even in the docs. For example:

    @event
    def on_clock(13, 40):
    
    

    Or with waiting, though I assume it'd use more battery resources, and has to be able to wait in the background. For example:

    given_time - current_time = left_time
    wait(left time)
    

    Is there such thing in Pythonista? If there is, I'd be the happiest and would definitely buy it, if not though, unfortunately, I'll have to look further on how I could do this.
    Thanks in advance, have a nice day.

    posted in Pythonista read more

Internal error.

Oops! Looks like something went wrong!