Cloud Stack Ninja

Having trouble displaying a variable for the Tkinter Label Code example

q="blah blah" 

test = Label(main, textvariable=q)

I try this code and nothing displays. I have also tried

q="blah blah"
test = Label(main, text= )+q 

but that still doesn't. I want label to display "blah blah" when I run.

Read more here:

Content Attribution

This content was originally published by Oliver Almonte at Recent Questions - Stack Overflow, and is syndicated here via their RSS feed. You can read the original post over there.

%d bloggers like this: