# importing maskpass library import maskpass # PRESSING LEFT CTRL ON KEYBOARD WILL REVEAL THE PASSWORD # masking the password pwd = maskpass.advpass() print('Password : ', pwd)