title: Python tkinter textvariable in label widget
body: <p>I have made a variable called 'localtime2' within my def in the code and then have a label which says 'textvariable=localtime2.' the problem is that it does not display the information about the variable.</p>
  
  <pre><code>localtime2 = time.asctime(time.localtime(time.time()))
  tk.Label(roots, font=('arial', 16, 'bold'), textvariable=localtime2, bd=16, anchor="w").grid(row=2, column=0)
  </code></pre>
  
  <p>This is all I have in the code about this variable and it is not coming up with any error in the terminal. It just doesnt show at all.</p>