When I run this code:
import getpass p = getpass.getpass(prompt='digite a senha\n') if p == '12345': print('YO Paul') else: print('BRHHH') print('O seu input foi:', p)
I received this warning:
Warning (from warnings module): File "/usr/lib/python3.4/getpass.py", line 63 passwd = fallback_getpass(prompt, stream) GetPassWarning: Can not control echo on the terminal. Warning: Password input may be echoed.
source share