code: def extract(binary):
      """
      Extract a code object from a binary pyc file.
  
      :param binary: a sequence of bytes from a pyc file.
      """
      if len(binary) <= 8:
          raise Exception(
              "Binary pyc must be greater than 8 bytes (got %i)"
              % len(binary)
          )
  
      magic = binary[:4]
      MAGIC = get_magic()
  
      if magic != MAGIC:
          raise Exception(
              "Python version mismatch (%r != %r) Is this a pyc file?"
              % (magic, MAGIC)
          )
  
      modtime = time.asctime(
          time.localtime(struct.unpack("i", binary[4:8])[0])
      )
  
      code = marshal.loads(binary[8:])
  
      return modtime, code
  
imports: from __future__ import print_function
  from __future__ import division
  from __future__ import absolute_import
  from imp import get_magic
  import time
  import struct
  import marshal
label_desc: Use image node_id 1 for calling a global function with example usage: extract(binary) and returns: modtime,  code