P
Phil Frost
Could someone please tell me what should be done to extract a code
object from a .pyc? Poking through the source I find examples of using
PyMarshal_ReadLastObjectFromFile to get it, but when I tryed this myself
it wouldn't work, so I'm wondering what I might be doing wrong. One
difference is that the files have already been loaded to ram (by my
bootloader), so I was using PyMarshall_ReadObjectFromString instead.
object from a .pyc? Poking through the source I find examples of using
PyMarshal_ReadLastObjectFromFile to get it, but when I tryed this myself
it wouldn't work, so I'm wondering what I might be doing wrong. One
difference is that the files have already been loaded to ram (by my
bootloader), so I was using PyMarshall_ReadObjectFromString instead.