python 3.x - getpass is not working -


import getpass pw=getpass.getpass("enter password here: ") if (pw=="password"):     print ("login successful") else:     print ("sorry! password incorrect") 

i cannot understand error py3 compiler shows , password not hidden getpass

warning (from warnings module):   file "c:\python36-32\lib\getpass.py", line 100     return fallback_getpass(prompt, stream) getpasswarning: can not control echo on terminal. warning: password input may echoed. enter password here: password login successful 

i typed password , not hidden


Comments

Popular posts from this blog

PHP and MySQL WP -

android - InAppBilling registering BroadcastReceiver in AndroidManifest -

go - golang pprof for c library code -