Source code

Terje Johan Abrahamsen spoermeg at voldelig.com
Tue Sep 17 19:30:29 EDT 2002


"Gerhard Häring" <gerhard.haering at gmx.de> wrote in message
news:mailman.1032152058.11043.python-list at python.org...
> * Terje Johan Abrahamsen <spoermeg at voldelig.com> [2002-09-15 23:31 -0500]:
> > If I would like to write some code that would not be possible for
> > others to read, after I distribute the program, would Python be
> > suitable? I know that there are a few programs like Py2Exe, that
> > creates .exe files. But, I also saw this:
> >
> > --------------------
> >  A zip-compatible archive is built, containing all files from this
> >   directory as well as your script, and appended to a custom python
> >   interpreter supplied with py2exe.
> > --------------------
>
> py2exe contains Python byte code. Python byte code can be transformed
> into Python source code, but all comments are lost.
>
> > Doesn't sound like it is protected very well. Is there some
> > alternative to Py2Exe that can do the job, or should I look for a
> > compiled language instead?
>
> You should perhaps reconsider if and why you need to hide your source
> code.

If I am going to sell my programs, I do not want somebody else to take my
sourcecode, change a few things, and sell it themselves.





More information about the Python-list mailing list