>> import getpass >>> f=getpass.getpass() Warning (from" /> >> import getpass >>> f=getpass.getpass() Warning (from" /> >> import getpass >>> f=getpass.getpass() Warning (from"/>

How to turn off ECHO in IDLE python as i have to use it to maskpasswords

836 views Asked by At
[GCC 8.4.0] on linux
Type "help", "copyright", "credits" or "license()" for more information.
>>> import getpass
>>> f=getpass.getpass()

Warning (from warnings module):
  File "/usr/lib/python3.6/getpass.py", line 62
    passwd = fallback_getpass(prompt, stream)
GetPassWarning: Can not control echo on the terminal.
Warning: Password input may be echoed.
Password: pewdiepie

As you can clearly see when I typed pewdiepie the output was echoed out....

But this problem is not happening in my terminal but I prefer to work with IDLE more so see if you can do something about it!!!

0

There are 0 answers