Commercial Products in Python

Banibrata Dutta banibrata.dutta at gmail.com
Tue Oct 21 21:14:38 EDT 2008


On Tue, Oct 21, 2008 at 11:48 PM, namekuseijin <namekuseijin at gmail.com>wrote:

> On 21 out, 15:59, "Sebastian Bassi" <sba... at clubdelarazon.org> wrote:
> > On Tue, Oct 21, 2008 at 2:50 PM, Paulo J. Matos <pocma... at gmail.com>
> wrote:
> >
> > > I was just wondering, if you wish to commercialize an application
> > > developed in Python, what's the way to go?
> >
> > You choose the conditions. Nothing in Python license prevents you of
> > selling your work.
> >
> > > I guess the only way is to sell the source, right?
> >
> > No
> >
> > > This is because (and tell me if I am wrong):
> > > 1) You can't sell an executable because Python doesn't compile to
> native
> > > code (the usual approach, afaik);
> >
> > There are py2exe utilities to compile Python applications.
>
> I believe those actually just package the bytecode together with a
> specific interpreter in a single executable.
>
> Talking about CPython, you are right about the utility of py2exe, and we
could actually land up selling either the python source or bytecode (pyc).
And also note that, if you sell code, you sell open + clear-text code,
because there are no known Python obfuscators that work 100% of time on 100%
of Python code.
However if you use some of the other Python variants/flavours -- Jython,
IronPython etc, you could (atleast in theory) sell byte-code or even
compiled executables.

All this is AFAIK, given that I'm neither expert nor very experienced with
Python. The gurus on this list might shed more light on the subject.

-- 
regards,
Banibrata
http://www.linkedin.com/in/bdutta
http://octapod.wordpress.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20081022/6472af3c/attachment-0001.html>


More information about the Python-list mailing list