
September 2nd, 2003, 09:23 PM
|
 |
Contributing User
|
|
Join Date: Aug 2003
Posts: 67
Time spent in forums: 41 m
Reputation Power: 10
|
|
Toplevel Problem...
When I run this code:
Code:
def help(self):
self.help = Toplevel(maxsize=(1000, 100))
self.help.title("Help/About")
self.alabel = Label(help, text="About"
self.alabel.grid(row=0, column=0)
self.hlabel = Label(help, text="Help"
self.hlabel.grid(row=2, column=0)
self.amsg = Message(help, text="This program was written in Python abd Tkinter by Evan Patterson. Hopefully you will find this program useful.")
self.amsg.grid(row=1, column=0)
self.hmsg = Message(help, text="This program is really simple to use. Use the chackbuttons to select which stages you want to include. Normally, it asks you Latin and you must give it English, but if you want it the other way around, check the 'Diplay in English' box."
self.hmsg.grid(row=3, column=0)
self.hclose = Button(help, text="Close", command=help.destroy)
self.hclose.grid(row=4, column=0)
It says: Failed to run script - syntax error - invalid syntax
I don't know why, the code looks fine to me... Does anyone know whats wrong?
Thanks.
__________________
Before you criticize someone, walk a mile in their shoes, that way when you do criticize them, you're a mile away and you have their shoes!
|