More on Protecting Source Code

Kerim Borchaev warkid at
Tue Sep 17 06:47:37 EDT 2002

Hello David,

Tuesday, September 17, 2002, 7:26:06 AM, you wrote:

DL> I suppose one solution is to modify the Python interpreter with different
DL> op-codes and that ought to make it somewhat painful for the average hacker.
DL> A better solution is to make a .pyc file approximately as hard as a binary
DL> .exe file to decompile - however that could be done.

Just a thought.
Keeping your python modules encripted(e.g. with rotor module?) you can
reimplement __import__ builtin to properly handle importing these modules.

Best regards,
 Kerim                            mailto:warkid at

More information about the Python-list mailing list