I am trying to code a login window using Tkinter but I\'m not able to hide the password text in asterisk format. This means the password entry is plain text, which has to be
Here's a small, extremely simple demo app hiding and fetching the password using Tkinter.
#Python 3.4 (For 2.7 change tkinter to Tkinter)
from tkinter import *
def show():
p = password.get() #get password from entry
print(p)
app = Tk()
password = StringVar() #Password variable
passEntry = Entry(app, textvariable=password, show='*').pack()
submit = Button(app, text='Show Console',command=show).pack()
app.mainloop()
Hope that helps!