From: Alberto Troiano [mailto:[EMAIL PROTECTED]
Sent: November 15, 2005 8:51 AM
To: 'Nathan Pinno'; 'Alan Gauld'; 'Tutor Mailing List'
Subject: RE: [Tutor] Do I have to initialize TKInter before I can use it?
Hey Nathan
I think this is what you are looking for
###
inal-
De: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] En nombre de
Nathan Pinno
Enviado el: Martes, 15 de Noviembre de 2005 00:43
Para: 'Alan Gauld'; 'Tutor Mailing List'
Asunto: Re: [Tutor] Do I have to initialize TKInter before I can use it?
Alan and all,
I imported
rom: Alan Gauld [mailto:[EMAIL PROTECTED]
Sent: November 14, 2005 9:35 PM
To: Nathan Pinno; Tutor Mailing List
Subject: Re: [Tutor] Do I have to initialize TKInter before I can use it?
Nathan,
> I am having problems. The latest error message I got was:
>tkMessageBox.showinfo("Hoc
Nathan,
> I am having problems. The latest error message I got was:
>tkMessageBox.showinfo("Hockey",
> NameError: name 'tkMessageBox' is not defined
A NameError means Python doesn't recognise the name.
Usually that's because either you didn't declare the variable or
you forgot to import the
> Do I have to initialize TKInter before I can use it, and if so, how would
> I
> go about doing that?
Yes, by calling Tk()
Alan G.
___
Tutor maillist - Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor
Hi Nathan,
The interactive interpreter is your friend. I just displayed a simple
dialog without creating a Tkinter App, complete with a mailoop or
anything.
But I won't tell you how... you need to import the module and then use
one of its functions. But you need to try it yourself (be aware t
On 15/11/05, Nathan Pinno <[EMAIL PROTECTED]> wrote:
> John,
>
> I learned it from the docs on pythonware.com - the introduction to TKInter -
> Standard Dialogs.
> Since it doesn't exist, how can I show a info box before the main part of my
> program?
Ok, let's see what the pythonware docs say:
h
Tutor] Do I have to initialize TKInter before I can use
it?
To: Tutor
Message-ID: <[EMAIL PROTECTED]>
Content-Type: text/plain; charset=ISO-8859-1
On 15/11/05, Nathan Pinno <[EMAIL PROTECTED]> wrote:
>
>
> John and all,
>
> I am having problems. The latest erro
Hi Nathan,
It is always better if you include what you're actually trying to do. I
see you included one traceback error, but I see no reference to what
you're coding or any of your code.
In your case , it's likely that you did not import the tkMessageDialog
module or something like this. But
On 15/11/05, Nathan Pinno <[EMAIL PROTECTED]> wrote:
>
>
> John and all,
>
> I am having problems. The latest error message I got was:
> Traceback (most recent call last):
> File "D:\Python24\hockey.py", line 19, in -toplevel-
> tkMessageBox.showinfo("Hockey",
> NameError: name 'tkMessageBox'
John and all,
I am having problems. The latest error message I got was:
Traceback (most recent call last): File "D:\Python24\hockey.py",
line 19, in -toplevel-
tkMessageBox.showinfo("Hockey",NameError: name 'tkMessageBox' is not
defined
What do I have to do in this case?
Nathan Pin
Nathan Pinno wrote:
> Hey all,
>
> Do I have to initialize TKInter before I can use it, and if so, how
> would I go about doing that?
>
> Thanks,
> Nathan Pinno
Btw, your question would be a little more user-friendly if you don't
post HTML, and don't post embedded images as well! (Not ever
On 15/11/05, Nathan Pinno <[EMAIL PROTECTED]> wrote:
>
> Hey all,
>
> Do I have to initialize TKInter before I can use it, and if so, how would I
> go about doing that?
Generally, you need to create a Tkinter.Tk object before you create
any other Tkinter objects.
Are you having problems?
--
John
Hey
all,
Do I have to initialize
TKInter before I can use it, and if so, how would I go about doing
that?
Thanks,
Nathan Pinno
___
Tutor maillist - Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor
14 matches
Mail list logo