Get User Name And Password At Runtime Using Python

It is quite common that you need to grab a logged in user name and ask for the password from a user on an application launch.

The biggest question that comes here is — Can we grab password from user in plain text? Can password input be in plain text which can be seen while entering?

Of course not. As a password is considered as one of the most sensitive data, it can not be exposed so lightly. Due to its sensitivity, either user input has to be masked or it had taken in invisible form.

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store