omz:forum

    • Register
    • Login
    • Search
    • Recent
    • Popular
    1. Home
    2. KevinKarney
    3. Posts

    Welcome!

    This is the community forum for my apps Pythonista and Editorial.

    For individual support questions, you can also send an email. If you have a very short question or just want to say hello — I'm @olemoritz on Twitter.


    • Profile
    • Following 0
    • Followers 0
    • Topics 3
    • Posts 5
    • Best 0
    • Controversial 0
    • Groups 0

    Posts made by KevinKarney

    • UI datepicker problem

      I have a UI datepicker object which shows today's date on starting the dialog. If it has been moved to a different date, can I reset it (with a button) back to today's date. Whatever I try, I get '_ui.View object does not support item reassignment'

      Does anyone know a way to set this picker back to its initial state???

      Any help greatly appreciated - I am struggling a bit

      Kevin

      posted in Pythonista
      KevinKarney
      KevinKarney
    • Extracting the Date from the UI date and time spinner

      I am new to Python but have progressed as far as getting a complex algorithm coded, but I am now struggling with the UI interface. I have a button which when pressed should read the date from the date spinner.
      The code for the button is...
      def GetDate(sender):
      thisdate = sender.superview['DatePicker']

      But I cannot see how to get year, month, day from this date
      H E L P

      Best regards and thanks in advance
      Kevin

      posted in Pythonista
      KevinKarney
      KevinKarney
    • RE: Extracting the Date from the UI date and time spinner

      Brilliant.
      Thanks dvader9 and @ccc. I knew it would be easy!
      Best wishes, Kevin

      posted in Pythonista
      KevinKarney
      KevinKarney
    • Tabular Input & Output

      I am quite new to Pythonista (& Python), but have managed to use it to code some very complex astronomical calculations. But what I would really like is a means to input a whole bunch of data into a table - do the calculations - then to output the results in a similar dialog box.

      Can anyone direct to a dialog box generator?

      I would be most grateful...
      Kevin

      posted in Pythonista
      KevinKarney
      KevinKarney
    • RE: Tabular Input & Output

      Gregory
      Anything you manage to create in relation to a GUI would be welcome. I would prefer to keep everything within Python if possible...
      Thanks for your reply
      Kevin

      posted in Pythonista
      KevinKarney
      KevinKarney