i am trying to code a login window in tkinter , but not able to hide the password text in asterisk format , which means the password entry is plain text , which has to be avoided . Any idea how to do it?
+1
A:
A quick google search yelded this
widget = Entry(parent, show="*", width=15)
where:
widget
is the text field, parent
is the parent widget (a window, a frame, whatever), show
is the character to echo (that is the character shown in the Entry
) and width
is the widget's width.
klez
2010-03-10 11:39:06
can you expand a bit on it ?
mekasperasky
2010-03-10 11:43:07
edited to explain it a bit, hope this helps
klez
2010-03-10 11:46:03