1

Currently I am using Python 2.7.4

How do I take an input or raw_input from the user in a hidden manner (Such as using asterisk) ? ---without showing others what is being input just like password.

Bhargav Rao
  • 50,140
  • 28
  • 121
  • 140
mfaraaz
  • 7
  • 2
  • 4
    Check out the standard [`getpass`](https://docs.python.org/2.7/library/getpass.html) module. – AChampion Nov 09 '16 at 13:04
  • 3
    check this answer as well: http://stackoverflow.com/questions/27631629/masking-user-input-in-python-with-asterisks – aliasav Nov 09 '16 at 13:10

0 Answers0