• mikael

    @JonB, your post should be pinned to the top of the forum, wonder if @ccc has access.

    posted in Pythonista read more
  • mikael

    @Robert_Tompkins, I have the same issue, and no workaround.

    posted in Pythonista read more
  • mikael

    @talns100, as others have pointed out, int is a quick way to get the number. Always a good idea to wrap it in try ... except ValueError though, to either set a default or give the user some guidance on what you expected to receive.

    Usually, if all I want is an int, I prefer to use int(round(float(input()))), just to be that little bit more tolerant of users who input 1.0, for example.

    posted in Pythonista read more
  • mikael

    @Steven11, on MacBook, would recommend PyCharm. Community edition is free, and the ease of navigating in the code is just something you cannot live without once you get used to it. Can be a bit heavy on the machine, though.

    posted in Pythonista read more
  • mikael

    @cvp, sure, there’s pros and cons, and @ihf’s use case should provide some guidance here.

    But you can have a TextView that resizes to fit the paragraph, and TableView rows that also resize to their contents.

    posted in Pythonista read more
  • mikael

    @cvp, true, if you have an external keyboard. iPhone keyboard does not even have a tab key. 😁

    posted in Pythonista read more
  • mikael

    @cvp, suggestion: use TableView for easy reordering, swipe left & right to change outline level.

    Copying would need extra support, though.

    posted in Pythonista read more
  • mikael

    @cvp, thanks, really nice if so. I remember some of my earlier attempts being somewhat hit and miss.

    posted in Pythonista read more
  • mikael

    @Andy_Y, is your script by any chance called motion.py? If yes, change the name, restart Pythonista to be sure, and try again.

    posted in Pythonista read more
  • mikael

    @margusch: "build a application which gets triggered via shortcuts daily"

    Good to note that it will (probably) not happen in the background on a locked device, so this would in effect be more like a reminder and an easier way for you to start the process.

    posted in Pythonista read more

Internal error.

Oops! Looks like something went wrong!