[Pythonmac-SIG] Is Python bytecode cross-platform?

Eric Nieuwland eric.nieuwland at xs4all.nl
Wed Mar 10 16:13:59 EST 2004


On 10-mrt-04, at 12:06, Michael Hudson wrote:
> Matthew Wingren <mlist at unicornwest.org> writes:
>> On a side note
>> Code distribution seems to be meagerly documented, or more likely I
>> just haven't found a the right place to read about it yet.
>> I am curious how one distributes python applications without
>> distributing the source.
>
> Well, most people just distribute the source.  You can find endless
> threads on comp.lang.python about this.
>
> It's not terribly difficult to go .pyc -> .py.  There's decompyle
> (gogle for it) which apparently is quite effective, though I've not
> tried it personally.

But distributing .pyc can keep the ignorant from changing your code.
Less ignorants will find their way, as usual.




More information about the Pythonmac-SIG mailing list