dkinga
dkinga

Reputation: 33

Handling password in jupyter notebook

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

Using input() and remove-output tags?

Upvotes: 2

Views: 1477

Answers (1)

under-control
under-control

Reputation: 56

The easiest way is to use getpass standard library:

from getpass import getpass

pw = getpass('Input password: ')

Upvotes: 2

Related Questions