On Sat, May 25, 2019, at 10:07, binoythomas1...@gmail.com wrote: > Hi Shakti! > > Thanks for your response. I have tried getpass() but got the following > warning: > > Warning (from warnings module): > File > "C:\Users\Binoy\AppData\Local\Programs\Python\Python37-32\lib\getpass.py", > line 100 > return fallback_getpass(prompt, stream) > GetPassWarning: Can not control echo on the terminal. > Warning: Password input may be echoed. > > And true enough, the input string is echoed. I saw a video where > getpass() worked on Linux. So, probably, its a Windows thing.
getpass works fine on the windows console. Are you running the script in an IDE such as IDLE, PyCharm, etc? -- https://mail.python.org/mailman/listinfo/python-list