>I need to prevent someone from easily seeing or accessing these if they >happen to gain access to my python files. Thanks in advance. If they can read your script, they can also reverse engineed the code and decode your user/pass. (Also, "hashing" is a one way destructive operation, you can not retreive the original pass phrase)