Can I decompile PYC files?
D-Man
dsh8290 at rit.edu
Tue Jan 23 16:32:54 EST 2001
I heard once that .pyc files are simply Python Code objects that have
been marshalled. You could take a look at the marshall module and see
how to load such objects. Maybe you could write them out as strings?
(maybe repr or str will help)
I don't have any other ideas.
(next time you may want to try cvs or rcs to manage revisions in your
files)
-D
On Tue, Jan 23, 2001 at 06:33:09AM +0000, noahspurrier at my-deja.com wrote:
|
|
| A process just deleted my .py file. I still have the .pyc file.
| Can I recover anything? I'm desparate. It doesn't have to be perfect.
| Thanks,
| Noah
|
|
More information about the Python-list
mailing list