def jython_getpass(prompt='Password: ', stream=None):
    if stream is None:
        stream = sys.stdout

    try:
        terminal = sys._jy_interpreter.reader.terminal
    except:
        return default_getpass(prompt)

    echoed = terminal.getEcho()
    terminal.disableEcho()
    try:
        passwd = _raw_input(prompt, stream)
    finally:
        if echoed:
           terminal.enableEcho()

    stream.write('\n')
    return passwd
Prompt for a password, with echo turned off.
dataset/ETHPy150Open azoft-dev-team/imagrium/env/Lib/getpass.py/jython_getpass