How to take Password input in Python

Did you know? There is a python module in Python Standard Library called getpass. The purpose of this library is to securely take input from user! The module is very handy for sensitive inputs such as passwords / keys or any kind of credentials. Simplest example of getpass could be this: import getpass password =…