Reputation: 33
How to not store password as plain text in jupyter notebook?
Using input()
and remove-output
tags?
Upvotes: 2
Views: 1477
Reputation: 56
The easiest way is to use getpass standard library:
from getpass import getpass
pw = getpass('Input password: ')
Upvotes: 2