huggingface / knockknock

🚪✊Knock Knock: Get notified when your training ends with only two additional lines of code
MIT License
2.78k stars 233 forks source link

how to reset password in Keyring file? #63

Closed cpoptic closed 3 years ago

sangshuduo commented 3 months ago

curious how to fix this issue as I want to do that too.

mcnoat commented 1 month ago

@sangshuduo I looked into yagmail's source code: The password is saved in keyring with "yagmail" as the system and the gmail address as the username. Hence, you can change it with:

import keyring
keyring.set_password("yagmail", "<your_email@address.com>")