Insert into text field?

Matthew Wilson mwilson at
Sat Sep 20 19:59:31 CEST 2003

On Sat, 20 Sep 2003 12:11:23 -0400
Baltor <member37516 at> wrote:

> How do I enter weapondescription with a space before it at the end of
> line 3. I tried this, but it is not working:
> self.text.insert(3.0, END, " ", weapondescription)

If you're trying to pass a string that has the value 

'  weapondescription'

you should put quotes around the string, or make weapondescription a
variable that has the value ' weapondescription'.

Some more background about the project you're working on might help.

More information about the Python-list mailing list