Naereen/Peut-on-coder-avec-OCaml-Python-et-C-par-SMS

Use a "password" hidden input() in app.py when asking for the password ?

Naereen opened this issue · 1 comments

  • When reading input() for password, use a "hidden" input like real password on UNIX ? Useless, but fun to try!

https://docs.python.org/3/library/getpass.html

import getpass
.
.
.
pa = getpass.getpass()

(https://stackoverflow.com/a/18290450/)

I'll let this open, if someone to contributes, this is a good first issue to solve!
Please go ahead, open a pull request!