how to extract source code from code objects ?
Skip Montanaro
skip at pobox.com
Thu Jan 2 11:21:36 EST 2003
Michele> Is there a way to have back the source code, i.e. the string
Michele> 'x=1' instead of the bytecode ?
I can think of two answers: decompilation and locating the source file.
Since strings aren't associated with files, that option is out. That leaves
decompilation. Google for "decompyle".
--
Skip Montanaro - skip at pobox.com
http://www.musi-cal.com/
http://www.mojam.com/
More information about the Python-list
mailing list