I don't know how to write Greek letters in a GUI. I am working on a Physics program and I need to show units on the GUI.
Do I have to download any extra libraries? Is there a module I have to use? What is the easiest way to write the letters in the GUI?
I read a lot about UTF8 but didn't figure out how to use it.
I am using Tkinter for the GUI
I am using Python 2.6.6
Thanks
Unicode includes definitions for both the Greek alphabet and several mathematical symbols. If you are using any form of Unicode in your environment, it should be simple:
This will print "Hello, μ-world!" in a Tkinter window.
Works for me.
What specific problem are you having?
IDLE uses Tkinter, Greek letters seem to work fine in there for me
If you wish to use unicode literally in your source, you should include a line like this
At the top of each file