Anti- Re: De-compiler for *.pyc files

Shichang Zhao shichang at icubed.com
Fri Mar 10 23:36:52 CET 2000


If I make a product using Python, that means someone gonna be able to 
decompile it and peek the source? Than how do I protect my private part? 
(no misunderstanding, I am a person supporting Open Source, but you know, 
if you work for other companies, they may not like the idear)



-----Original Message-----
From:	Michael Hudson [SMTP:mwh21 at cam.ac.uk]
Sent:	Friday, March 10, 2000 10:00 PM
To:	python-list at python.org
Subject:	Re: De-compiler for *.pyc files

"Zarkon & Zena" <nospam at 127.0.0.1> writes:

> Does anyone have a "decompiler" that I can use to re-create the original
> *.py scripts from the "compiled" *.pyc files?
> I am stuck trying to make changes to some legacy Python code that I do 
not
> have the source for.
> Any help or suggestions would be greatly appreciated.

Do to www.google.com, type "decompyle" into the box, and then hit "I'm
feeling lucky".

Warning: It probably won't work.  But it's worth a try.

Failing that, you can just use the `dis' module on the functions and
work out what they do by hand, which is not very hard, but very
tedious.

Cheers,
M.

--
very few people approach me in real life and insist on proving they are
drooling idiots.                         -- Erik Naggum, comp.lang.lisp
--
http://www.python.org/mailman/listinfo/python-list





More information about the Python-list mailing list