tags:

views:

85

answers:

1

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
can you expand a bit on it ?
mekasperasky
edited to explain it a bit, hope this helps
klez