[Tkinter] Password Reveal Icon - Printable Version +- Python Forum (https://python-forum.io) +-- Forum: Python Coding (https://python-forum.io/forum-7.html) +--- Forum: GUI (https://python-forum.io/forum-10.html) +--- Thread: [Tkinter] Password Reveal Icon (/thread-22692.html) |
Password Reveal Icon - Evil_Patrick - Nov-23-2019 Is there any Function in the Entry widget for Password reveal in Tkinter or in any other Python GUI Framework like Kivy, PyQt or WxPython? RE: Password Reveal Icon - steve_shambles - Nov-29-2019 Interesting question. Easy GUI can do half of the job by starring out the users input, since you have the password in a string I guess you could create your own reveal button and then put the string in to overwrite the stars it is going to be hassle though, here is a code snippet to get you started. I don't know Easygui much but it has a few nice features by the looks of it. pip install easygui from easygui import msgbox, passwordbox title = "Password" pass_word = (passwordbox("Please enter your password",title)) msgbox("Your password: %s"%pass_word, title="Password revealed")More info: https://stevepython.wordpress.com/2019/07/08/python-code-snippets-24 https://github.com/robertlugg/easygui RE: Password Reveal Icon - Evil_Patrick - Nov-29-2019 (Nov-29-2019, 12:19 PM)steve_shambles Wrote: Interesting question. Thank you so much for your information. |