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

in #coding5 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

Coin Marketplace

STEEM 0.17
TRX 0.16
JST 0.028
BTC 76323.20
ETH 2986.08
USDT 1.00
SBD 2.62