简体   繁体   中英

Hiding code or blocking code editing in Python

I developed a software in Python and this software has some user's restrictions. Once I don't know how to block my users to open and change my code, it becomes very useless if they just delete a line from my code and then have permissions that they are not allowed. Is there any way to protect my software from changing or even block the code visualization?

Distribute only your Python compiled .pyc files.

Do not distribute your Python source code .py files.

http://www.curiousefficiency.org/posts/2011/04/benefits-and-limitations-of-pyc-only.html

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM