I want tkinter.Entry not to echo the inputted characters like in linux shell's read -s
command.
Here's my code. But I couldn't figure out how to hide inputted characters in tkinter.Entry() object.
import tkinter
window = tkinter.Tk()
password_entry = tkinter.Entry(show="")
password_entry.pack()
window.mainloop()
What I wanna achieve is something like that:
$ sudo useradd test
$ sudo passwd test
Enter new UNIX password:
Enter new UNIX password:
passwd: password updated successfully
It accepts the characters but it will not echo out to the terminal.
How to do that?