4 Replies - 1480 Views - Last Post: 10 July 2012 - 09:41 PM Rate Topic: -----

#1 cladus  Icon User is offline

  • New D.I.C Head

Reputation: 1
  • View blog
  • Posts: 25
  • Joined: 11-June 12

Python GUI

Posted 21 June 2012 - 03:37 AM

Hello,
Is there any Python GUI Kits. I would really like if it they had a Interface like Visual Studio.
Thank You,
Cladus
Is This A Good Question/Topic? 0
  • +

Replies To: Python GUI

#2 darek9576  Icon User is offline

  • D.I.C Lover

Reputation: 198
  • View blog
  • Posts: 1,693
  • Joined: 13-March 10

Re: Python GUI

Posted 21 June 2012 - 04:47 AM

There are different modules for GUI in Python. Tkinter is built-in (I think) but it is said to be "old", in a way that it's not updated. It does not have a tree widget or a tabbed frames.

wxPython is the one I use. There is also PyQt but i have no experience with it.
Was This Post Helpful? 1
  • +
  • -

#3 cladus  Icon User is offline

  • New D.I.C Head

Reputation: 1
  • View blog
  • Posts: 25
  • Joined: 11-June 12

Re: Python GUI

Posted 21 June 2012 - 07:32 AM

I'll check it out.
Thank You
Was This Post Helpful? 0
  • +
  • -

#4 Akelo  Icon User is offline

  • D.I.C Head

Reputation: 4
  • View blog
  • Posts: 98
  • Joined: 12-December 07

Re: Python GUI

Posted 27 June 2012 - 08:29 PM

With 3.2 tkinter is a bit more updated. It now has ttk in it, with tabbed frames and other nifty frame objects to organize your world on the screen. The classes reflect old tkinter frames, so very little change other than how they are presented (and how to change their styles on the screen). Have to get some sleep, but if you want some examples, let me know.
Was This Post Helpful? 1
  • +
  • -

#5 Ob-EWAN-Kenobi  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 2
  • Joined: 10-July 12

Re: Python GUI

Posted 10 July 2012 - 09:41 PM

I use PyQt with QtDesigner. There are a lot of programs out there that use Qt, including the graphing program I use, QtiPlot, which is why I went this route. Check out the PyQt website http://www.riverbank...ware/pyqt/intro and google QtDesigner.

There are some tutorials regarding saving your gui as a .ui file from QtDesigner and then importing that into your python script. Your script has to include a class for your gui window. You can also use the pyuic module to convert the .ui file into a python script to get an idea of how to program a gui without the designer.

It's pretty easy to get started. Cheers.
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1