python getpass save file 1

python getpass save file

import getpass

p = getpass.getpass()

Here is what the above code is Doing:
1. We’re importing the getpass module.
2. We’re calling the getpass() function from the getpass module.
3. We’re storing the value returned by the getpass() function in a variable called p.
4. We’re printing the value of p.

Similar Posts