Sort of off topic, but my preferred way of using passwords is
pw = open("~/.some_password").read()
or, if you prefer
with open(os.path.expanduser(os.path.join("~", ".some_password")) as pw
pw = pw.read()
which is always safe to include in distributed code.
Although plain text passwords in files in your home folder aren't great
practice, it's not an uncommon practice. I've also dealt with having
to re-write a git history to remove passwords, that's something you
want to avoid.
You received this message because you are subscribed to the Google Groups
To unsubscribe from this group and stop receiving emails from it, send an email
To post to this group, send email to email@example.com.
Visit this group at https://groups.google.com/group/leo-editor.
For more options, visit https://groups.google.com/d/optout.