How to insert a string variable inside the text message in a Label?
<p>How to insert a string value inside a text input for a label in tkinter ~ python script.</p>

<p>For Eg:</p>

<pre><code>label = Label(master, text="Hello %s ! Welcome Back"%(str(user_name),)
</code></pre>

<p>But still it prints PY_VAR4 or some variable like that.. Instead how can I input the value of string inside the text ?</p>

<p>Share in your comments. Thanks in adv. </p>

<p>Regards,
Vimo </p>