2013-05-13 4 views

답변

2
e1 = Entry(root, show= '*', textvariable = passport) 
0

는 당신이 필요로하는 것은 :

w2 = Label(root, text="Password") 
w2.pack() 

e1 = Entry(root,show="*") 
e1.pack() 

이 다른 문자 대신 *를 표시됩니다. 다음을 추가 할 수 있습니다.

if e1 == "PASSWORD HERE" : 
    #What happens if the password is correct 
else: 
    #What happens if the password is incorrect 
관련 문제