0
Q:

getpass

import getpass
x = getpass.getpass("Enter Password")
4
# A simple Python program to demonstrate  
# getpass.getpass() to read password 
import getpass 
  
try: 
    p = getpass.getpass() 
except Exception as error: 
    print('ERROR', error) 
else: 
    print('Password entered:', p) 
0

Related

New to Communities?

Join the community