GUI Programming

G

Gabriel

Hello,

I'm python newbie and i need to write gui for my school work in python.
I need to write it really quick, because i haven't much time .)
So question is, which of gui toolkits should i pick and learn? I heard
PyGTK and Glade are best for quick gui programming? Is it good for
beginner? Or is there something better?
I have some experience with java swing, btw..
 
R

r

Hello,

I'm python newbie and i need to write gui for my school work in python.
I need to write it really quick,
[snip]

Tkinter is built-in, why not start there?

from Tkinter import *
root = Tk()
root.mainloop()
 
G

Gabriel

r said:
Hello,

I'm python newbie and i need to write gui for my school work in python.
I need to write it really quick,
[snip]

Tkinter is built-in, why not start there?

from Tkinter import *
root = Tk()
root.mainloop()

It seems ugly to me..
 
E

edexter

Hello,

I'm python newbie and i need to write gui for my school work in python.
I need to write it really quick, because i haven't much time .)
So question is, which of gui toolkits should i pick and learn? I heard
PyGTK and Glade are best for quick gui programming? Is it good for
beginner? Or is there something better?
I have some experience with java swing, btw..

pygame may work for you (sdl doesn't work on my compaq though so test
the examples befour reading the manual)... most of the other ones are
going to be "ugly".. If what you want is realy simple and pygame
doesn't work for you may want pycap (a gaming system with python
embeded) .. What do you need it to do?? just simple buttons???
 
S

Steven D'Aprano

Hello,

I'm python newbie and i need to write gui for my school work in python.
I need to write it really quick, because i haven't much time .) So
question is, which of gui toolkits should i pick and learn? I heard
PyGTK and Glade are best for quick gui programming? Is it good for
beginner? Or is there something better? I have some experience with java
swing, btw..

I've never used it, but I've heard good things about PythonCard.

http://pythoncard.sourceforge.net/
 
G

Gabriel

edexter said:
pygame may work for you (sdl doesn't work on my compaq though so test
the examples befour reading the manual)... most of the other ones are
going to be "ugly".. If what you want is realy simple and pygame
doesn't work for you may want pycap (a gaming system with python
embeded) .. What do you need it to do?? just simple buttons???
I definitely need some kind of treeview, text area to represents text
(hexa strings .)), buttons, maybe some kind of menu..
 
N

norseman

Gabriel said:
r said:
Hello,

I'm python newbie and i need to write gui for my school work in python.
I need to write it really quick,
[snip]

Tkinter is built-in, why not start there?

from Tkinter import *
root = Tk()
root.mainloop()

It seems ugly to me..
===============================
Put your tongue in your cheek: You have company! :) :)

Steve
 
D

David Cook

I'm python newbie and i need to write gui for my school work in python.
I need to write it really quick, because i haven't much time .)
So question is, which of gui toolkits should i pick and learn? I heard
PyGTK and Glade are best for quick gui programming? Is it good for
beginner? Or is there something better?
I have some experience with java swing, btw..

I find PyQt the most pleasant to work with. It has a consistent, well
thought out, sophisticated API. WxPython I find the least pleasant to work
with. I particularly dislike the way it does layout, and it has a hodge
podge of APIs. But it's what I use professionally because of the liberal
license. For those using PyGtk, I'd definitely recommend trying Kiwi.

Dave Cook
 
L

laplacian42

r said:
Hello,
I'm python newbie and i need to write gui for my school work in python..
I need to write it really quick,

Tkinter is built-in, why not start there?
from Tkinter import *
root = Tk()
root.mainloop()


It seems ugly to me..

If it's only the lack of antialiasing that's bothering you, don't
worry -- I'm pretty sure that the next minor Python release finally
fixes that ( http://code.google.com/p/python-ttk/wiki/Screenshots ).

Read more about it here:
http://docs.python.org/dev/library/ttk.html

or, for Python 3:
http://docs.python.org/dev/py3k/library/tkinter.ttk.html

Tkinter is fast and easy.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,292
Messages
2,571,494
Members
48,183
Latest member
GarfieldBa

Latest Threads

Top