Unicode Characters & Special Characters - Python Tkinter GUI Tutorial #51

preview_player
Показать описание
How to use Unicode Characters and Special Characters with tKinter and Python. Using special characters in tKinter is super easy.

You just slap a u in front of the thing, then escape out with a backslash, and then type in the unicode characters, like so:

my_label = Label(root, text='41' + u'\u00A2').pack()
Рекомендации по теме
Комментарии
Автор

hi john honestly you are good teacher through ur tutorials now i can make ma application thank u john

black-ymdi
Автор

What does one do with the unicode \u221A (the sqrt symbol) in a calculator? It doesn’t function like modulo does when added the similar way that modulo is added.

AusticHardOfHearingSinger
Автор

Thank you so much! It helped me a lot!

rsym.
Автор

Hi John, although your example with the degree symbol is working fine for me, I have problems when trying to include greek letters as text on a Tk widget. if I use, for instance, u'\u03b5' (which should give me an epsilon) all I get is the unicode code itself. Do you know if there is an extra package that tkinter needs to print some of the unicode characters?

jmartin
Автор

For an offline dictionary of unicode characters hit the window key and type "character map"

cameronmclaughlin
Автор

hi there John...I wait for your tutorials eagerly and trust me, I've learned tkinter from you...
I've one request for you though, can you make your next tutorial explaining how to show table like data on to the tkinter gui with rows and colunmns, like database's fetched data on to the gui in table form so that it will be easy to read and understand?
please

deepaktiwari
Автор

how to enter 5 letter unicodes as it is only accepting 4 characters.

narutouzomaki
Автор

Can i talk with you i would really be grateful

mboiwahab
Автор

▶️ Watch Entire Tkinter Playlist ✅ Subscribe To My YouTube Channel:
▶️ See More At: ✅ Join My Facebook Group:

Codemycom