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.
Still looking for a solution to the same on Windows.
--
https://mail.python.org/mailman/listinfo/python-list