[Python-ideas] I have an encrypted python module format: .pye

Mike Graham mikegraham at gmail.com
Mon May 14 19:35:13 CEST 2012


 On Fri, May 11, 2012 at 6:27 PM, li wang <charlesw123456 at gmail.com> wrote:
>
> I want to use python in my product because I like and familiar with
> python for many years, but I won't let the customer to read and modify
> my code. So the best way is to encrypt my module .py to .pye.

They scheme you describe only provides a false sense of security. That
would be very bad.

The only ways to protect your code are a) legally, which is the main
one, and b) by not giving it to anyone (and making them access things
by a remote interface).

A very strong -1 from me. Do not provide wrong-headed, insecure
features like this.

Mike



More information about the Python-ideas mailing list