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.


    Best way to share UI code between Pythonista and Windows platforms

    Pythonista
    2
    2
    1541
    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.
    • upwart
      upwart last edited by

      I am working on an animation/visualisation of a discrete event simulation program. I would like to run the program both on Windows (CPython or PyPy) and Pythonista.
      I know there's Tkinter on Windows platforms, but that's not supported in Pythonista as far ad I know.
      And there's UI (or Scene) on Pythonista but not Windows.

      Is there any package that's available on both platforms? If not, what would be the best approach to share most of the code?

      1 Reply Last reply Reply Quote 0
      • NoBetterName
        NoBetterName last edited by

        As far as I know, there is not a common graphics module between Pythonista and Windows. However, Tkinter is somewhat similar to the ui module, so try to translate the code. I hope this helps.

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