Obscuring Python source from end users
tjreedy at udel.edu
Thu Oct 2 09:19:32 CEST 2014
On 10/2/2014 1:17 AM, Marko Rauhamaa wrote:
> Dan Stromberg <drsalists at gmail.com>:
>> On Mon, Sep 29, 2014 at 4:47 AM, Steven D'Aprano
>>> Yes. Distribute the pyc files only.
>> Yes, this is the way it's usually done.
> Has the .pyc file format stabilized?
No. The cache files are binary specific and are so labelled. x.py is
compiled, for instance, to x.cpython-34.pyc
> A decade ago, my employer shippe
> an application as .pyc files but had to ship the matching CPython binary
> with it.
Terry Jan Reedy
More information about the Python-list