how do i make a grapical thingie?
jeroen paul goudsmit
hcj.goudsmit at wanadoo.nl
Fri Aug 31 14:47:40 EDT 2001
This site about tkinter really sucks!
http://www.pythonware.com/library/tkinter/introduction/hello-tkinter.htm
look what they say:
# File: hello1.py
from Tkinter import *
>>>>>> error!!!!!!!!! this filke does not exists it has to be _tkinter
root = Tk()
>>>>>>>>> error!!! methode not found
w = Label(root, text="Hello, world!")
>>>>>>>. error, label not defined. .....
w.pack()
root.mainloop()
"jeroen paul goudsmit" <hcj.goudsmit at wanadoo.nl> schreef in bericht
news:auLj7.10$j9.166 at castor.casema.net...
> just a gui for windows...
> "Grant Edwards" <grante at visi.com> schreef in bericht
> news:slrn9ov0ps.ofj.grante at grante.comtrol.com...
> > In article <0RGj7.12$pD3.125 at pollux.casema.net>, jeroen paul goudsmit
> wrote:
> >
> > > HOW!?!?!?!?
> >
> > Well, the "default" GUI package for Python is Tk.
> >
> > Get a copy of "Python and Tkinter Programming" by John E.
> > Grayson. Read it. Excellent book.
> >
> > Loot at http://www.python.org/topics/tkinter/
> >
> > Or, more specifically, read "An Introduction to Tkinter" by
> > Fredrik Lundh:
> >
> > http://www.pythonware.com/library/tkinter/introduction/index.htm
> >
> > If you want to try other toolkits besides Tk, there are Python
> > bindings for wxwindows, gtk, Qt, Win32, etc. See question 4.13
> > in the FAQ at
> >
> > http://www.python.org/doc/FAQ.html
> >
> > What widget set do you prefer?
> >
> > --
> > Grant Edwards grante Yow! This MUST be a
> good
> > at party -- My RIB CAGE
is
> > visi.com being painfully
pressed
> up
> > against someone's
> MARTINI!!
>
>
More information about the Python-list
mailing list