Answer the question
In order to leave comments, you need to log in
How to store passwords in public code?
I faced this problem: I'm going to share the code with other users, but I don't want to burn codes from the database and the like
I also wanted to convert the code to exe for convenience
In general, ideally, convert python code to exe, so that the code itself there is no way to extract it, but as far as I know this is not possible (
I would be grateful for any information
Thank you!
Answer the question
In order to leave comments, you need to log in
you can also extract the key from exe - there would be a need ...
before sharing the code with the public, replace the access keys to resources with xxxxxxxx
sed regexp and others like it to help
or take it to a module that is separate from the code exposed for access the public. you can add an example of this module without access keys to the code.
passwords
in the public domain
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question