Source code
Gerhard Häring
gerhard.haering at gmx.de
Mon Sep 16 00:53:06 EDT 2002
* 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.
-- Gerhard
More information about the Python-list
mailing list