0

Tkinter Entry label, how to make input text invisible/disguised

I'm making simple application to verify username and corresponding password to give access to app. I'm using tkinter.Entry() to retrieve users input, but I don't want password to be visible while users is typing it, I would like to hide it or even better replace each character with dots or asterisk or basically whatever, just to disguise real password. I'm familiar with insert() and delete() methods, to insert and delete text, respectively, but don't see how I can implement them to satisfy my needs. Please help, thx! (•‿•)

29th Dec 2020, 10:21 PM
Sergej
1 Answer
+ 4
Just Pass the Parameter show='*' to Entry instantiation... tkinter.Entry(..., show='*')
29th Dec 2020, 10:38 PM
G B
G B - avatar