distributing apps without the Python source?

Paul Boddie paul at boddie.org.uk
Thu Oct 9 00:09:28 CEST 2008


On 8 Okt, 23:50, "James Mills" <prolo... at shortcircuit.net.au> wrote:
>
> I must point out though that if your client
> is paranoid for intellectual property reasons
> (ie: protecting his assets), then you should
> be aware that even if you can decompile
> a Python compiled module (or a compiled
> java class), it's generally pretty useless in this
> form to any would-be-thief.

I beg to differ on the usefulness of the decompiled code: Python
bytecode is pretty high-level stuff, and it doesn't leave that much to
the imagination. It may not give you nice source code, but if you want
answers to questions on how some mechanism in the code works,
decompyle does a reasonable job.

> Decompiling/Disassembling never gets you
> the original source code back.

True, but that's not always what you want, anyway. Some more opinions
on the subject can be found here:

http://wiki.python.org/moin/HowDoYouProtectSource

Paul



More information about the Python-list mailing list