Handling password in jupyter notebook

Viewed 159

How to not store password as plain text in jupyter notebook?

Using input() and remove-output tags?

1 Answers

The easiest way is to use getpass standard library:

from getpass import getpass

pw = getpass('Input password: ')
Related