def invisible_input(prompt='>>> '):
 import getpass
 entry = getpass.getpass(prompt)
 if (entry is None):
  raise KeyboardInterrupt
 return entry

def invisible_input ( prompt = '>>> ' ) : import getpass entry = getpass . getpass ( prompt ) if ( entry is None ) : raise KeyboardInterrupt return entry
get raw input from a terminal without echoing the characters to the terminal .