• Involute

    Thanks. That gets the job done, though closing the main view doesn't close the background; I have to click on the X in the corner to do that. Not a big deal, but is there a way to close both when closing the main?

    posted in Pythonista read more
  • Involute

    Got it. Thanks.

    Is there any way to hide the script while it's running other than to make the view fill the screen? It's a little annoying to see the script behind my UI, and scaling up the UI would scale all its elements, too, making them bigger than I want.

    posted in Pythonista read more
  • Involute

    If I change the size of the Calculator example in the Inspector panel and then run the script, the Calculator is the same size as before the change, even though going back to the Inspector shows the changes have been preserved. How do I get the change to carry through to the running script? Thanks.

    posted in Pythonista read more
  • Involute

    Aaah. Thanks.

    posted in Pythonista read more
  • Involute

    Or do I have to make a new button/widget and copy the parameters from the original one?

    posted in Pythonista read more
  • Involute

    Thanks! I chose the second route and it worked great.

    posted in Pythonista read more
  • Involute

    I’d like to create a script based on the supplied Calculator.py example. I can copy the example’s code to a new file, and I can create a new empty UI file, but I can’t figure out how to copy the designer file into it. Any tips? Is there another way I should be doing this?

    posted in Pythonista read more
  • Involute

    @cvp That seems to be working. Thanks.

    posted in Pythonista read more
  • Involute

    @JonB said:

    Don't create infinite loops.

    Well, I need to repeatedly request input from the user. How else can I do that except something like while(True)? I also use try/except since the input should only be a number and the user may enter a letter or something else by mistake. The user can enter 4 to exit, and that function issues a sys.exit(), but that has no effect.

    posted in Pythonista read more
  • Involute

    @mikael I can see the X at the top right, but when I tap on it nothing happens. Should have said that originally. I should add that I have the same problem in IDLE on my PC running the same script, so I assume it's a Python issue and not a Pythonista issue.

    posted in Pythonista read more

Internal error.

Oops! Looks like something went wrong!