I am making a program that I need the user to enter a password, but I need to know how to make the text in an entry appear as an * so it looks real.
Asked
Active
Viewed 61 times
1 Answers
0
Specify show
option with the character you want to display instead of the characters you typed:
from Tkinter import * # from tkinter import * in Python 3.x
root = Tk()
Entry(root, show='*').pack()
root.mainloop()

falsetru
- 357,413
- 63
- 732
- 636