How do (not) I distribute my Python progz?
Steven D'Aprano
steve at REMOVEMEcyber.com.au
Wed Dec 14 02:44:32 EST 2005
Tolga wrote:
> Let's suppose that I have written a Python program and, of course, want
> to show it to the world ;-)
>
> So, do I have to distrubute my source code? Or is there a way to hide
> my code?
Why? Is there a problem with your source code? Are you
ashamed of it? Or trying to hide secret back-doors? Or
do you think that your "Hello World" program is worth
millions of dollars? *wink*
For many purposes, you can just distribute the .pyc
compiled byte-code. That will discourage the casual
user from reading the source code, but of course a
serious programmer will be able to disassemble the .pyc
code very easily.
--
Steven.
More information about the Python-list
mailing list