"Arden Hall" <[EMAIL PROTECTED]> wrote
I'm trying to learn to use Tkinter from "Thinking in Tkinter"
I'll make a couple of comments on the code then add a
hypothesis about the reason for your "error"
button1 = Button(myContainer1)
button1["text"} = "Hello, World!"
button1[background
On Tue, Jun 17, 2008 at 12:57 AM, Arden Hall <[EMAIL PROTECTED]> wrote:
> A followup on the message below. The source code has errors in it because I
> keyed it in rather than copying and pasting, as pointed out by Alan Gauld.
> Joe replied with corrected code and said it worked for him. I took
: Arden Hall <[EMAIL PROTECTED]>
Subject: [Tutor] Tkinter problem
To: tutor@python.org
Message-ID: <[EMAIL PROTECTED]>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
I'm trying to learn to use Tkinter from "Thinking in Tkinter" and don't
seem to be able
The following worked for me.
from Tkinter import *
root = Tk()
myContainer = Frame(root)
myContainer.pack()
button1 = Button(myContainer)
button1['text'] = "Hello, World!"
button1['background'] = "green"
button1.pack()
root.mainloop()
Arden Hall wrote:
I'm trying to learn to use Tkinter fr
"Arden Hall" <[EMAIL PROTECTED]> wrote
The source code is:
I don't know if you cut n paste this but there are several errors:
from Tkinter import *
root = Tk()
myContainer1 = Frame(root)
myContainer.pack()
mycontainer1
button1 = Button(myContainer1)
button1["text"} =
I'm trying to learn to use Tkinter from "Thinking in Tkinter" and don't
seem to be able to get the examples to work the way they are supposed
to. I have the latest version of Python on a Macbook. Here's an
example of the kind of problem I run into:
The source code is:
from Tkinter import
Rob Dowell wrote:
> I am having a problem with Tkinter. The goal is a program that will copy
> images from one folder to another then delete them from the source dir
> after it is verified that they made it to the target dir. I have the
> base functionality figured out (comments on that are welc
I am having a problem with Tkinter. The goal is a program that will copy
images from one folder to another then delete them from the source dir
after it is verified that they made it to the target dir. I have the
base functionality figured out (comments on that are welcome of course).
Now I wan