--- On Tue, 5/26/09, W W wrote:
From: W W
Subject: Re: [Tutor] Tinkering with Tkinter
To: "Doug Reid"
Cc: Tutor@python.org
Date: Tuesday, May 26, 2009, 11:42 AM
On Mon, May 25, 2009 at 7:45 PM, Doug Reid wrote:
The following code and it's explanation doesn'
On Mon, May 25, 2009 at 7:45 PM, Doug Reid wrote:
> The following code and it's explanation doesn't seem to work:
>
>
> 1. >>> from Tkinter import *
>
> 2. >>> tk = Tk()
>
> 3. >>> btn = Button(tk, text="click me")
>
> 4. >>> btn.pack()
>
>
>
> In line 1, we import the contents of the
> Tk modul
"Doug Reid" wrote
The following code and it's explanation doesn't seem to work:
1. >>> from Tkinter import *
2. >>> tk = Tk()
3. >>> btn = Button(tk, text="click me")
4. >>> btn.pack()
In line 1, .
Nothing appears on the screen after I enter line 2...
A lot depends on the environment
The following code and it's explanation doesn't seem to work:
1. >>> from Tkinter import *
2. >>> tk = Tk()
3. >>> btn = Button(tk, text="click me")
4. >>> btn.pack()
In line 1, we import the contents of the Tk module, so we can use them—the
most useful of these is Tk, which creates a basic win