| View previous topic :: View next topic |
| Author |
Message |
Poolkop
Joined: 01 Jun 2006 Posts: 123
|
| Whats the easiest way to make a very simple GUI for a python script? |
| |
|
|
|
|
PaulKolin
Joined: 25 May 2006 Posts: 108
|
| Poolkop, what OS are you on? |
| |
|
|
Poolkop
Joined: 01 Jun 2006 Posts: 123
|
Linux
Debian right now but usually ubuntu
Latest versions of course |
| |
|
|
montanarry
Joined: 13 May 2006 Posts: 175
|
Poolkop, for a very very simple GUI, e.g. just some simple popup dialog windows, something like zenity might be easiest way
Otherwise, for a slighlty more complex GUI, wxwindows is probably easiest to use |
| |
|
|
Poolkop
Joined: 01 Jun 2006 Posts: 123
|
montanarry, i want to be able to have just a area to type and a area to view stuff that is sent to the user like the output stuff
So just a simple input -> output |
| |
|
|
montanarry
Joined: 13 May 2006 Posts: 175
|
| Poolkop, then I'd look into wxpython. It's a bit easier to use compared to pygtk,pyqt and tkinter. |
| |
|
|
Poolkop
Joined: 01 Jun 2006 Posts: 123
|
| I just tried to install stuff and I installed tkinter with apt-get install python-tk but I get this error when trying to run a simple example: http://pastebin.com/736841 |
| |
|
|
BigDaddy
Joined: 26 May 2006 Posts: 147
|
Poolkop, it means Python cannot connect to your X windows system.
Poolkop, try running a non-python X program, like 'xterm'. |
| |
|
|
Poolkop
Joined: 01 Jun 2006 Posts: 123
|
| Ahha thank you BigDaddy |
| |
|
|
|