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