[Tutor] Python "password" securely hashed in script

Peter Otten __peter__ at web.de
Wed Apr 27 09:41:09 EDT 2016


Paul Smith wrote:

> So creating small programs that automate my day specifically logins, how
> can one "hash" or hide the user and pass items in the python script
> itself? I need to prevent someone from easily seeing or accessing these if
> they happen to gain access to my python files. Thanks in advance.

They can copy your script to gain access and just replace the part where you 
do something once you are logged in.



More information about the Tutor mailing list