# Echoing password and masked with hashtag(#) import maskpass # importing maskpass library # prompt msg = Password and # masking password with hashtag(#) pwd = maskpass.askpass(prompt="Password:", mask="#") print(pwd)