extracting code objects from .pyc

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Phil Frost

    extracting code objects from .pyc

    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_ReadL astObjectFromFi le 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_Read ObjectFromStrin g instead.

Working...