Home  >  Q&A  >  body text

I want to add a UI to a script developed in Python. Which library is better to use to draw the window? Please recommend

I originally planned to use tkinter, but tk could not run under py53. Tk() said that SDL could not be found, cross-platform performance. . I'm looking forward to it.
Later I joined kivy because I heard that this packaged app can also be run on Android, which is very convenient, so I gave it a try. . As a result, I didn't know that because kivy's sdl does not support IME, the input box cannot input Chinese. .
So, come here for help, is it really that difficult to develop window programs in python? . . .

-------2017.5.1 update-------

Thank you for your answers. At present, I am ready to choose pyside as the preferred solution. pyqt cannot be developed because it encounters a bunch of bugs. Just download the compiled installation file of the corresponding version from the official website of pyside and install it. As an alternative, easygui is provided in the form of WEB UI as a final plan. . I really don’t want to use web UI until that step, thank you all for your answers.

高洛峰高洛峰2712 days ago619

reply all(4)I'll reply

  • 某草草

    某草草2017-05-18 10:58:55

    Try these introduced on the Python official website

    reply
    0
  • PHP中文网

    PHP中文网2017-05-18 10:58:55

    If you just want to make a simple and crude UI, easygui is highly recommended. It is much easier to get started than those advanced and comprehensive libraries.

    reply
    0
  • 習慣沉默

    習慣沉默2017-05-18 10:58:55

    wxPython documentation is here: http://wiki.woodpecker.org.cn...

    reply
    0
  • 过去多啦不再A梦

    过去多啦不再A梦2017-05-18 10:58:55

    In fact, I think it is a good choice to provide it in the form of WEB UI. You can use it with a browser, otherwise it would be a real headache to install various packages.

    reply
    0
  • Cancelreply