omz:forum

    • Register
    • Login
    • Search
    • Recent
    • Popular

    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.


    Question about modifying Calculator example

    Pythonista
    2
    3
    1484
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • Involute
      Involute last edited by

      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?

      cvp 1 Reply Last reply Reply Quote 0
      • cvp
        cvp @Involute last edited by cvp

        @Involute you could

        • rename the .pyui in .txt
        • edit it
        • select all/copy
        • rename it back into .pyui
        • create a .txt where you have your .py
        • paste
        • rename it in .pyui

        Or

        • in the file browser of the folder examples
        • edit
        • select calculator.pyui
        • share
        • run Pythonista script
        • import file
          And a copy will be imported in the root
        1 Reply Last reply Reply Quote 0
        • Involute
          Involute last edited by

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

          1 Reply Last reply Reply Quote 0
          • First post
            Last post
          Powered by NodeBB Forums | Contributors