python tkinter entry hide text 1

python tkinter entry hide text

widget = Entry(parent, show="*", width=15)

Here is what the above code is Doing:
1. We create a variable called “password_widget”
2. We set it equal to the “Entry” widget
3. We tell the widget to show the text as “*” instead of the actual text
4. We tell the widget to have a width of 15 characters

Similar Posts