On Sun, May 27, 2018 at 09:08:29AM -0700, Pat Martin wrote:

> The process I am currently thinking of using is having a separate file with
> the username and password in it and just having that ignored by source
> control. That of course doesn't solve the problem of the password sitting
> in a file on the system unencrypted. Is there a better or more accepted way
> to do this in python?

The usual way is to use the netrc module.

https://docs.python.org/3/library/netrc.html


-- 
Steve
_______________________________________________
Tutor maillist  -  Tutor@python.org
To unsubscribe or change subscription options:
https://mail.python.org/mailman/listinfo/tutor

Reply via email to