Commercial Products in Python

Paulo J. Matos pocmatos at
Tue Oct 21 21:11:45 CEST 2008

Paulo J. Matos wrote:
> Grant Edwards wrote:
>> On 2008-10-21, Paulo J. Matos <pocmatos at> wrote:
>>> Hi all,
>>> I was just wondering, if you wish to commercialize an application
>>> developed in Python, what's the way to go?
>>> I guess the only way is to sell the source, right?
>>> 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);
>>> 2) You can't sell the bytecode, otherwise you get the client stuck with
>>> a specific python version (given bytecode might vary between versions)
>>> (the alternative);
>> You can bundle bytecode with a minimal Python snapshot into an
>> "application".  Under Windows, it'll be mostly .dll, .zip, and
>> .exe files, so the customer need not know it's Python at all
>> (though it's not hard for an experienced person to figure that
>> out).
> Ah, ok, thanks, that's exactly what I wanted to know! :) So, there is an
> automatic way of creating a python 'package' that bundles the source
> code with a Python snapshot! :) Any reference on how to do that?

Question cleared:

> Thanks,

Paulo Jorge Matos - pocmatos at

More information about the Python-list mailing list