On Tue, Oct 2, 2018, 08:42 Chris Angelico <ros...@gmail.com> wrote: > On Tue, Oct 2, 2018 at 12:01 PM Chandana Pattanayak > <chandana.pattana...@patterneffectslabs.com> wrote: > > > > Hi, > > > > I have a requirement to provide basic code protection for a module in our > > product suite. With python 3.6 the .pyc files are created under pycache , > > so if i remove the py file the module is not found anymore. > > If you want code protection, the ONLY reliable way to do it is to not > provide the code *at all*, in any form. >
I think Cython is a rather reliable way to do it. There is a nice post to start with “Protecting Python Sources With Cython” @2parrots https://medium.com/@xpl/protecting-python-sources-using-cython-dcd940bb188e With kind regards, -gdg > -- https://mail.python.org/mailman/listinfo/python-list