Help for a Tkinter newbie

Domenico Barra domenico at localhost.localdomain
Mon May 14 09:41:18 EDT 2001


Sorry boys, I was just now starting to learn Tkinter using
a tutorial.

This is my problem:

from Tkinter import *
tk = Tk()
frame = Frame(tk)
text = Text(frame,width=30,height=5)


Now, I'm going to write in that text area. How to retrieve
the contents? Text.get gives me strange errors (bad index),
and so does Text.delete...

Please, could you explain me how to use them correctly?
Thank you in advance.

-- 
Domenico Barra, Brainbench C++ Master
barra at programmazione.it



More information about the Python-list mailing list