distributing apps without the Python source?

Bruno Desthuilliers bdesth.quelquechose at free.quelquepart.fr
Wed Oct 8 14:19:30 EDT 2008


Marc 'BlackJack' Rintsch a écrit :
> On Wed, 08 Oct 2008 10:59:44 -0500, skip wrote:
> 
>> Marc> On Wed, 08 Oct 2008 09:18:47 -0600, Joe Strout wrote:
>>     >> We have a client who's paranoid about distributing the Python
>>     >> source to his commercial app.  Is there some way I can distribute
>>     >> and use just the .pyc files, so as to not give away the source?
>>
>>     Marc> Yes.  Just use the *.pyc files.
>>
>> Though of course there is decompyle to consider, assuming Joe's client
>> is truly paranoid.
> 
> Simply don't tell the client.  All he has to know is that it's basically 
> the same as Java *.class files.  Most paranoid clients are fine with 
> that.  Unless you tell them there are decompilers for *.class files.  :-)
> 
FWIW, even native binary code can be 'disassembled' and hacked.



More information about the Python-list mailing list