tags:

views:

442

answers:

5

How do I make a GUI for my python program because now it only runs in Idle and a command line and what software packages can I use and where can I get them? Thanks.

+5  A: 

The GuiProgramming page in the Python wiki has a good overview of the different options you have.

Jeremy Banks
+3  A: 

The two most interesting toolkits for use with python are probably PyQt4 or wxPython.

They are both open source, cross platform and well documented, and they both have gui builders available (Qt Designer and wxGlade. Keep in mind that developing closed source software with QT requires a license, both for QT and the python bindings.

gnud
A: 

http://wiki.python.org/moin/TkInter

A: 

We started down the path of wxPython a few years ago and found it to be quite easy to do for simple, quick and dirty app. However, you are not going to get something you can put on the modern desktop. So we switched to WinForms and Python.Net and haven't looked back since. It's fairly easy to get going and you get all the power and support of rich windows UI with .NET.

Kozyarchuk
A: 

One thing not mentioned yet is that Tkinter is included in the standard library. In most cases all other gui toolkits will require additional installs.

Tkinter isn't pretty, but it gives you the basics. And if you don't want to worry about additional setup, this is your best choice.

My personal preference is wxpython. It has many of the standard widgets you expect from a gui toolkit and a native look.

monkut