Lines Matching refs:prompt
29 def unix_getpass(prompt='Password: ', stream=None): argument
62 passwd = fallback_getpass(prompt, stream)
77 passwd = _raw_input(prompt, stream, input=input)
91 passwd = fallback_getpass(prompt, stream)
97 def win_getpass(prompt='Password: ', stream=None): argument
100 return fallback_getpass(prompt, stream)
102 for c in prompt:
120 def fallback_getpass(prompt='Password: ', stream=None): argument
126 return _raw_input(prompt, stream)
129 def _raw_input(prompt="", stream=None, input=None): argument
135 prompt = str(prompt)
136 if prompt:
138 stream.write(prompt)
141 prompt = prompt.encode(stream.encoding, 'replace')
142 prompt = prompt.decode(stream.encoding)
143 stream.write(prompt)