closed source

Michael Hudson mwh at python.net
Thu Oct 23 05:53:07 EDT 2003


"Michael Geary" <Mike at DeleteThis.Geary.com> writes:

> > Milos Prudek:
> > > is it technically possible to distribute a python project as a closed
> > > source, i.e. encrypted?
> > >
> > > I believe that *.pyc files do not work without *.py sources... and
> > > they can be easily decompiled.
> 
> Alan James Salmoni:
> > I don't know if this is suitable for your project, but if (IIRC) you
> > use Jython, you can byte-compile the code which will run as a Java
> > application, but will be hard for anyone else to work out (it's not
> > impossible of course, it just takes a lot of work).
> 
> That will certainly do the trick... as long as no one clicks here:
> 
> http://www.google.com/search?q=java+decompiler

I wonder what a Java decompiler would make of compiled-from-Jython
bytecode... would look a bit like the output of Python2C except in
Java, I guess.

Cheers,
mwh

-- 
  Monte Carlo sampling is no way to understand code.
                                  -- Gordon McMillan, comp.lang.python




More information about the Python-list mailing list