13 Replies - 3130 Views - Last Post: 21 July 2011 - 04:57 AM Rate Topic: -----

#1 assert(C)  Icon User is offline

  • D.I.C Head

Reputation: 1
  • View blog
  • Posts: 71
  • Joined: 20-July 11

Best std library for GUI in python

Posted 20 July 2011 - 06:36 AM

Hello all

What is the best std library in python for GUI in python I have used both tkInter and easygui but I don't find them effective.
Is This A Good Question/Topic? 0
  • +

Replies To: Best std library for GUI in python

#2 Brewer  Icon User is offline

  • Awesome
  • member icon

Reputation: 179
  • View blog
  • Posts: 1,044
  • Joined: 14-June 10

Re: Best std library for GUI in python

Posted 20 July 2011 - 06:39 AM

I've found that the documentation for Python GUI frameworks is less than spectacular, and the support seems to be somewhat minimal as well (perhaps I'm just looking in the wrong place).

wxPython and Qt are two more frameworks you might want to look into. I doubt the differences are very big, though I'm sure each have its strengths and weaknesses for sure. I prefer wxPython just because it seems to "fit" me better.
Was This Post Helpful? 1
  • +
  • -

#3 atraub  Icon User is offline

  • Pythoneer
  • member icon

Reputation: 759
  • View blog
  • Posts: 2,010
  • Joined: 23-December 08

Re: Best std library for GUI in python

Posted 20 July 2011 - 10:32 AM

A lot of people also like tkinter.
Was This Post Helpful? 0
  • +
  • -

#4 Simown  Icon User is offline

  • Blue Sprat
  • member icon

Reputation: 319
  • View blog
  • Posts: 650
  • Joined: 20-May 10

Re: Best std library for GUI in python

Posted 20 July 2011 - 11:23 AM

@atraub I think they are looking for a change from Tkinter

I'll also recommend WxPython - for Python 2.x at least. The problem is that Python has moved to version 3 but not all the GUI and 3rd party software has caught up or even plan to catch up in some cases!
Was This Post Helpful? 0
  • +
  • -

#5 Brewer  Icon User is offline

  • Awesome
  • member icon

Reputation: 179
  • View blog
  • Posts: 1,044
  • Joined: 14-June 10

Re: Best std library for GUI in python

Posted 20 July 2011 - 02:02 PM

@atraub - I hear that Tkinter is old news. How true is this?
Was This Post Helpful? 0
  • +
  • -

#6 McSick  Icon User is offline

  • D.I.C Head

Reputation: 33
  • View blog
  • Posts: 179
  • Joined: 02-September 10

Re: Best std library for GUI in python

Posted 20 July 2011 - 05:30 PM

I used tkinter to create an IRC chat client. I don't think it is too bad. I used http://effbot.org/tkinterbook/ for a lot of help with it. I've heard a lot of people also use WxPython. I just stick to tk since it is what I was taught.
Was This Post Helpful? 0
  • +
  • -

#7 atraub  Icon User is offline

  • Pythoneer
  • member icon

Reputation: 759
  • View blog
  • Posts: 2,010
  • Joined: 23-December 08

Re: Best std library for GUI in python

Posted 20 July 2011 - 06:45 PM

Haha my bad, that's what happens when you skim ^_^.

tkinter is losing more and more fans to sexier GUI libraries, but it can do simple jobs well. If you want to build something with a huge, complex, beautiful GUI... why are you using Python?
Was This Post Helpful? 0
  • +
  • -

#8 Simown  Icon User is offline

  • Blue Sprat
  • member icon

Reputation: 319
  • View blog
  • Posts: 650
  • Joined: 20-May 10

Re: Best std library for GUI in python

Posted 20 July 2011 - 06:59 PM

It may be losing popularity but it will never really be "old news", I think. It (is the only GUI that?) ships with Python so it should be the de facto standard?

This post has been edited by Simown: 20 July 2011 - 07:02 PM

Was This Post Helpful? 0
  • +
  • -

#9 atraub  Icon User is offline

  • Pythoneer
  • member icon

Reputation: 759
  • View blog
  • Posts: 2,010
  • Joined: 23-December 08

Re: Best std library for GUI in python

Posted 20 July 2011 - 07:11 PM

Well, at the moment that is true, but things do change. Nothing says it'll be defacto forever... UNLESS NO ONE UPGRADES FROM 2.7!!!!!


sorry... nerd rage...

This post has been edited by atraub: 20 July 2011 - 07:13 PM

Was This Post Helpful? 0
  • +
  • -

#10 Simown  Icon User is offline

  • Blue Sprat
  • member icon

Reputation: 319
  • View blog
  • Posts: 650
  • Joined: 20-May 10

Re: Best std library for GUI in python

Posted 20 July 2011 - 08:03 PM

I'll never upgrade from Python 2.7!!! Well, not until Django is compatible with 3.x, then I might be persuaded.

I'm wondering if it even should be suggested that it's the standard thing to use anyway, it gets the job done, but quite a lot of people tend to go for an alternative. Just because it's available doesn't automatically mean it should be used. Each to their own, of course :)
Was This Post Helpful? 0
  • +
  • -

#11 Brewer  Icon User is offline

  • Awesome
  • member icon

Reputation: 179
  • View blog
  • Posts: 1,044
  • Joined: 14-June 10

Re: Best std library for GUI in python

Posted 20 July 2011 - 08:05 PM

I don't understand why there is so much work being done to develop Python 3.x when nobody seems interested in switching over.
Was This Post Helpful? 0
  • +
  • -

#12 atraub  Icon User is offline

  • Pythoneer
  • member icon

Reputation: 759
  • View blog
  • Posts: 2,010
  • Joined: 23-December 08

Re: Best std library for GUI in python

Posted 20 July 2011 - 09:59 PM

well 3.x IS the future. They've already stated that 2.7 is the End of Life release for the 2.x branch. If you want to use a modern language, eventually people will need to start switching to 3.x... but this is a discussion for another thread.
Was This Post Helpful? 0
  • +
  • -

#13 assert(C)  Icon User is offline

  • D.I.C Head

Reputation: 1
  • View blog
  • Posts: 71
  • Joined: 20-July 11

Re: Best std library for GUI in python

Posted 20 July 2011 - 10:25 PM

Hello All

Thanks for the replies

This post has been edited by assert(C): 20 July 2011 - 10:25 PM

Was This Post Helpful? 0
  • +
  • -

#14 Hiram  Icon User is offline

  • D.I.C Head

Reputation: 69
  • View blog
  • Posts: 203
  • Joined: 02-June 09

Re: Best std library for GUI in python

Posted 21 July 2011 - 04:57 AM

View PostBrewer, on 21 July 2011 - 01:05 PM, said:

I don't understand why there is so much work being done to develop Python 3.x when nobody seems interested in switching over.


If people didn't move forward, progress would never be made! It's better to take smaller changes as they come rather than try to make the switch to Python 3.5 in so many years. Besides that, embracing new technology looks great on a resume.

I use Python 3 for everything, except when I have to use Python 2.x (only for Django, actually). Qt 4 runs in Python 3 now, which gives at least one major GUI environment running in Python 3.

As for the original question, I'd recommend Qt.
Was This Post Helpful? 1
  • +
  • -

Page 1 of 1