On 2016-09-22 17:16, Andrew Clark wrote:
I'm looking for a way to either completely hide character as you type in 
command line or add ***** to each character as you for simple password 
obscurity. I've tried getpass.getpass() however the characters still show up on 
the screen as you type it. Can anyone help? I'm using python 2.7 on windows.

host = 'ldxnis12.dx.deere.com'
    username = raw_input("Enter username: ")
    password = raw_input("Enter password: ")


Enter username: username
Enter password: iwanthistonotshowup

Here's an answer on StackOverflow:

How to read password with echo “*” in Python console program?


Reply via email to