pycdc
pycdc copied to clipboard
Decompile PyCodeObject from CPython
Hello,
Is there an API to programmatically decompile PyCodeObject from CPython?
Regards, Dawid
No, there's no API or library currently, let alone CPython bindings; the source is just compiled into the two executables (pycdc and pycdas). I suppose you could just write the .pyc headers and call pycdc from a subprocess though...