Re: Safe guard .pyc files

2008-07-21 Thread Fredrik Lundh
King wrote: After google a lot I didn't find any way to safe guard .pyc files from decompilation. There's no bullet-proof way to do that (the interpreter needs the bytecodes to be able to run your program, so unless you create your own Python runtime, someone could always run yo

Safe guard .pyc files

2008-07-21 Thread King
After google a lot I didn't find any way to safe guard .pyc files from decompilation. One way I can think of is to wrap important functions/classes as a libraby using SWIG/PyRex, but again is going to be a lot more of work and doesn't sound good. any body out there has done somethin