Re: Please help - Tkinter not doing anything

2008-05-04 Thread s0suk3
On May 4, 6:59 am, Protected <[EMAIL PROTECTED]> wrote: > On May 4, 12:18 pm, [EMAIL PROTECTED] wrote: > > > > > On May 4, 5:22 am, Protected <[EMAIL PROTECTED]> wrote: > > > > I had previously ran the import line. I prepended it to the example > > > code I'm trying to run every time but it did not

Re: Please help - Tkinter not doing anything

2008-05-04 Thread Scott David Daniels
[EMAIL PROTECTED] wrote: On May 4, 5:22 am, Protected <[EMAIL PROTECTED]> wrote: I'm pasting the code in IDLE and using Windows XP Tkinter doesn't work if you type the statements in IDLE it doesn't > work because IDLE is itself a Tkinter app. Actually, _because_ IDLE is a Tkint

Re: Please help - Tkinter not doing anything

2008-05-04 Thread rynt
WxWidgets, Tkinter, PyQT are all cross platform. Also have a look at http://wiki.python.org/moin/GuiProgramming for more GUI frameworks. RCB >On May 4, 4:59 am, Protected <[EMAIL PROTECTED]> wrote: > On May 4, 12:18 pm, [EMAIL PROTECTED] wrote: > > > > > > > On May 4, 5:22 am, Protected <[EMAIL

Re: Please help - Tkinter not doing anything

2008-05-04 Thread Protected
On May 4, 12:18 pm, [EMAIL PROTECTED] wrote: > On May 4, 5:22 am, Protected <[EMAIL PROTECTED]> wrote: > > > I had previously ran the import line. I prepended it to the example > > code I'm trying to run every time but it did not help, still nothing > > happens. With or without var before 'root'. I

Re: Please help - Tkinter not doing anything

2008-05-04 Thread s0suk3
On May 4, 5:22 am, Protected <[EMAIL PROTECTED]> wrote: > I had previously ran the import line. I prepended it to the example > code I'm trying to run every time but it did not help, still nothing > happens. With or without var before 'root'. I'm pasting the code in > IDLE and using Windows XP as w

Re: Please help - Tkinter not doing anything

2008-05-04 Thread Protected
I had previously ran the import line. I prepended it to the example code I'm trying to run every time but it did not help, still nothing happens. With or without var before 'root'. I'm pasting the code in IDLE and using Windows XP as written in the first post. On May 4, 11:04 am, "Chuckk Hubbard"

Re: Please help - Tkinter not doing anything

2008-05-04 Thread Chuckk Hubbard
Try adding: from Tkinter import * at the beginning, and you don't need "var" in front of root=Tk(), just "root = Tk()" (<-without the quotes of course) What OS are you on? Are you running "python testapp.py" or similar to make it run? -Chuckk On Sun, May 4, 2008 at 12:39 PM, Protected <[EMAI

Re: Please help - Tkinter not doing anything

2008-05-04 Thread Protected
Good thinking. It was indented with spaces, so I replaced them with tabs. Now I'm getting a SyntaxError: invalid syntax in root = Tk(). If I split the code in two parts (with the second one beginning in that line) and run them separately, I get no errors, but still nothing happens. class Applicati

Please help - Tkinter not doing anything

2008-05-04 Thread Protected
Hello. I'm a complete newbie trying to learn Python. I decided to try some Tkinter examples, including the one from the library reference, but they don't seem to do anything! Shouldn't there be, like, a dialog? I'm running Windows XP and using IDLE. You can assume my version of Python is the lates