title: Why, when writing python/tkinter gui code, is it apparently necessary to call tkinter.Tk before tkinter.Stringvar can be called?
body: <p>I tried to submit additional information but kept getting the following error:
  Your post appears to contain code that is not properly formatted as code. Please indent all code by 4 spaces using the code toolbar button or the CTRL+K keyboard shortcut. For more editing help, click the [?] toolbar icon.</p>