简体   繁体   中英

Python gui application tools?

What tools should be used to create GUI app in python? I imagine something similar to WinForms or WPF. It would be best if there were tools to design app visually. I think something similar to Java FX/Swing will do, too.

I tried tkinter framework, but it was impossible to use, it's very different from WinForms for example. In my app I will need canvas or something to draw few figures.

There are many GUI libraries.

  1. PyQt is a cross-platform application framework.
  2. wxPython
  3. PyGTK
  4. kivy is available on Ardroid.

I think PyQt could help you. It has GraphicsView class and you can draw something using it.

I would recommend wxPython and wxGlade. The later includes a tutorial that should get you started with wxPython as well.

Depending on the type of drawing, matplotlib might be an option. wxGlade includes examples for this. Otherwise have a look at the link posted by wich or at the wxPython demo, whether the drawing capabilities match your requirements.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM