Python Forum
[Tkinter] Password Reveal Icon
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[Tkinter] Password Reveal Icon
#1
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?


[Image: 1-HOz8wr-px-G5-OIr-ZKL-r-Fr-Q.gif]
Reply
#2
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/0...nippets-24

https://github.com/robertlugg/easygui
Reply
#3
(Nov-29-2019, 12:19 PM)steve_shambles Wrote: 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/0...nippets-24

https://github.com/robertlugg/easygui

Thank you so much for your information.
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
Exclamation [PyQt] Setting icon on QAction from outside QGuiApplication gradlon93 3 1,677 Jan-04-2023, 11:37 AM
Last Post: gradlon93
  PyQt6 QAction with icon and string malonn 2 1,617 Sep-12-2022, 11:59 AM
Last Post: malonn
  how to remove icon ilyess68ysl 4 3,581 Oct-15-2021, 10:05 AM
Last Post: ilyess68ysl
  Icon in tkinter menator01 8 4,842 May-03-2020, 02:01 PM
Last Post: wuf
  [Tkinter] Window Icon Evil_Patrick 6 7,978 Oct-18-2019, 11:26 AM
Last Post: Evil_Patrick
  Button with Image Icon Friend 2 6,765 Jul-25-2019, 09:39 AM
Last Post: Friend
  [PyQt] Hide Dock Icon for QSystemTrayIcon App AeglosGreeenleaf 0 3,264 Jun-20-2019, 07:21 PM
Last Post: AeglosGreeenleaf
  [PyQt] How is this tray icon throbber done? JackDinn 7 4,735 Mar-05-2018, 02:19 PM
Last Post: JackDinn

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020