• jcallum

    Thanks very much. That works. I need to study it carefully to see why. This OOP is not intuitively obvious to me!
    John.

    posted in Pythonista read more
  • jcallum

    Hi from Toronto, Canada.

    posted in General Discussion read more
  • jcallum

    Hi -
    I am looking for an example of code to read/get text from a textfield using the ui module. I have tried a number of things but can't seem to figure it out.
    This is one attempt:

    import ui
    
    v = ui.load_view('descent_calc')
    v.present('sheet')
    t1 = 120
    def text_entered(sender):
        '@type sender: ui.Textfield'
        t1 = str(sender.text('textfield1'))
        print(t1)
    

    If someone could point me to some good examples it would be great. Thanks.
    John.

    posted in Pythonista read more

Internal error.

Oops! Looks like something went wrong!