Bottom Page

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?


İmage
steve_shambles likes this post
Quote
#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
Evil_Patrick likes this post
Quote
#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.
Quote

Top Page

Possibly Related Threads...
Thread Author Replies Views Last Post
  [Tkinter] Window Icon Evil_Patrick 6 322 Oct-18-2019, 11:26 AM
Last Post: Evil_Patrick

Forum Jump:


Users browsing this thread: 1 Guest(s)