Python – How to Hide Python Code from Users

performancepython

I am developing a paid application in python. I do not want the users to see the source code or decompile it. How can I accomplish this task to hiding the source code from the user but running the code perfectly with the same performance.

Best Answer

To a determined user, you can't.

From a practical standpoint, you can do some tricks, such as wrapping it into a binary executable or using obfuscation.

See here for full details: https://stackoverflow.com/questions/261638/how-do-i-protect-python-code

Related Topic