• scopaest

    after a quick test I saw that it makes it possible to hide the statusbar and the title bar.

    can u tell us the rest of the use?

    Thanks :)

    posted in Pythonista read more
  • scopaest

    yea, thank you for pythonista an the great updates :)

    posted in Pythonista read more
  • scopaest

    It should work...

    When I try this:

    def kraken(a,b,c):
        var1 = a+10
        var2 = b+10
        var3 = c+10
        return(var1,var2,var3)
    
    final = kraken(1,2,3)
    print(final)
    
    

    it prints:

    (11,12,13)
    

    without an Error

    Can u post a bigger example?

    posted in Pythonista read more
  • scopaest

    Idk if this is the best solution, but u could do it this way:

    (0. create the button and the label with the ui designer...)

    1. click on the 'i' to edit the button
    2. set in the field "Action" a name (button1_Action, or what ever..)
    3. in the Code/py-File u have now to define the button and say, what it should do when clicked:
    def button1_Action(sender):
        sender.superview['label1'].text = 'new Text'
    
    

    edit: I just saw that u want to set the text from a Text-input.
    in this case u have to expand it:
    instead of:

    def button1_Action(sender):
        sender.superview['label1'].text = 'new Text'
    

    code this:

    sender.superview['label1'].text = sender sender.superview['textfield1'].text
    

    (or if u want to do it hard-coded: see post @ccc )

    posted in Pythonista read more

Internal error.

Oops! Looks like something went wrong!