title: Using Special Characters In Python
body: <p>I am writing a program using Python 2.7 and Tkinter, and at one point I need to display variable symbols on my GUI. I've decided to use the Label object, but I need to display symbols such as alpha, beta, ohm, and pi. I don't know how to type them out, let alone make them appear in python. Here's an example of my code:</p>
  
  <pre><code>pilabeltext = StringVar()
  pilabeltext.set("This is where I want the Pi symbol")
  pilabel = Label(app,text=pilabeltext)
  pilabel.pack()
  </code></pre>
  
  <p>I'd also like to be able to let characters in strings have subscripts and superscripts, so if I wanted to write alpha subscript 1 and alpha subscript 2, or alpha squared, how could I do that?</p>
  
  <p>Thanks a bunch!</p>