Skip to content

Instantly share code, notes, and snippets.

View Fenn-CS's full-sized avatar

F. E Noel Nfebe Fenn-CS

View GitHub Profile
@lordloh
lordloh / credentials_for_python
Last active May 15, 2021 02:58
A snippet to avoid hard coding user names and passwords in python scripts.
# If you hardcode usernames and passwords, you cannot check in the code to public git repositories.
# A solution I am using is to create a `credentials.json` file and storing the password there
# cerdentials.json :
# {
# "user":"bharath",
# "password":"bharath_secret_password"
# }
#
# add this file to .gitignore
#