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

in coding •  5 years ago 

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()

✅ Watch The Entire tKinter Playlist
http://bit.ly/2UFLKgj

✅ Subscribe To My YouTube Channel:
http://bit.ly/2IGzvOR

▶️ See More At:
https://Codemy.com

✅ Join My Facebook Group:
http://bit.ly/2GFmOBz

▶️ Learn to Code at https://Codemy.com
Take $22 off with coupon code: youtube

✅ Buy a Codemy T-Shirt!
http://bit.ly/2VC9WUN

Authors get paid when people like you upvote their post.
If you enjoyed what you read here, create your account today and start earning FREE STEEM!
Sort Order:  



HIVE IS ALIVE!!!

JOIN US, YOU'LL HAVE EXACTLY THE SAME BALANCE AS YOU HAVE HERE ON STEEM WITHOUT THE CENTRALIZATION AND CENSORSHIP!!

https://hive.blog

I have!