I know it's possible to define a custom "Enter password" dialog, see Implementing a Password Dialog with Tkinter.
But is it possible to re-use tkinter.simpledialog.askstring
, as explained in this answer: Python: How to get an entry box within a message box?
and just replace the typed text by ****
automatically on each keypress?
Or better, does tkinter.simpledialog
already implement a password input dilaog?